opt/check/Pkgfile

19 lines
421 B
Plaintext
Raw Normal View History

2015-01-27 11:24:57 +01:00
# Description: A unit testing framework for C
2019-02-15 07:11:51 +01:00
# URL: http://libcheck.github.io/check/
2015-01-27 11:24:57 +01:00
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on:
name=check
2019-02-15 07:11:51 +01:00
version=0.12.0
2015-01-27 11:24:57 +01:00
release=1
source=(https://github.com/libcheck/check/releases/download/$version/$name-$version.tar.gz)
2015-01-27 11:24:57 +01:00
build () {
cd $name-$version
./configure \
--prefix=/usr
2015-01-27 11:24:57 +01:00
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/{doc,info}
}