desktop/check/PKGBUILD
2014-04-01 10:28:08 +00:00

32 lines
726 B
Bash

# maintainer (x86_64): Giuseppe calà <jiveaxe@gmail.com>
pkgname=check
pkgver=0.9.12
pkgrel=1
pkgdesc="A unit testing framework for C"
arch=('x86_64')
url="http://check.sourceforge.net/"
license=('LGPL')
options=('!libtool')
categories=('programming')
install=$pkgname.install
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('46fe540d1a03714c7a1967dbc6d484e7')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
}
package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
#get rid of the package's info directory, install-info adds entries for us at install-time
rm ${pkgdir}/usr/share/info/dir || return 1
}