desktop/gnucap/PKGBUILD

23 lines
471 B
Bash
Raw Normal View History

2013-03-14 07:41:30 +08:00
pkgname=gnucap
2016-08-14 20:20:45 +08:00
pkgver=20160724
2017-01-16 07:12:54 +08:00
pkgrel=2
2013-03-14 07:41:30 +08:00
pkgdesc="GNU Circuit Analysis Package"
arch=('x86_64')
url="http://gnucap.org/"
license=('GPL')
depends=('gcc-libs' 'readline')
2016-05-22 20:48:32 +08:00
source=(http://git.savannah.gnu.org/cgit/gnucap.git/snapshot/gnucap-${pkgver}.tar.gz)
2016-08-14 20:20:45 +08:00
md5sums=('b2d2cb3c6efc3246ecd4e0c48d8b2336')
2013-03-14 07:41:30 +08:00
build() {
2016-05-22 20:48:32 +08:00
cd "$srcdir/$pkgname-$pkgver"
./configure \
--prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX="${pkgdir}/usr" install
2013-03-14 07:41:30 +08:00
}