blob: 7d21d8a7514b52ecc2a9edc1e9aebd3991db4413 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: AstroFloyd < AstroFloyd [at] gmail >
pkgname=pg2plplot
pkgver=5.13.0
pkgrel=1
pkgdesc="Assist the transition from PGPlot to PLplot in Fortran programs"
arch=('i686' 'x86_64')
url="http://pg2plplot.sourceforge.net/"
license=('GPL3')
depends=('gcc-libs')
makedepends=('cmake' 'gcc-fortran' 'plplot')
changelog=ChangeLog
source=("http://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver.tar.gz")
sha512sums=('38261e2bed8b2700c2b797a6d220a9ede0f18ddfb00260ef1eccfcdf3c7f8bef23918d659927650644e10976a4a7cb7855a01aa6da0b033dace8bb356b141345')
build() {
mkdir -p "$pkgname-$pkgver"/build
cd "$pkgname-$pkgver"/build/
cmake -DCMAKE_INSTALL_PREFIX:PATH="$pkgdir/usr/" ..
make -j1
}
package() {
# Install library:
cd "$pkgname-$pkgver"/build/
make install
rm -f $pkgdir/usr/lib/libpg2plplot.a
}
|