desktop/check/PKGBUILD
2014-09-21 21:57:24 +00:00

32 lines
743 B
Bash

# maintainer (x86_64): Giuseppe calà <jiveaxe@gmail.com>
pkgname=check
pkgver=0.9.14
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=('38263d115d784c17aa3b959ce94be8b8')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr --disable-static
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
}