diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-17 22:45:31 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-17 22:45:31 -0300 |
commit | 27a90a9d957b56dac972c9df0febb6262fb90dce (patch) | |
tree | 79251bdfb00539a1ddf1592d80eacd47971dcf24 /libre/sh-roundup/PKGBUILD | |
parent | 87b9cca463a1dbf2b5026c9dc770b5591b2d3fdc (diff) | |
parent | 8185891e28635bdb83fdf4ba4391030912dae596 (diff) |
Merge branch 'master' of gparabola:abslibre/abslibre-pre-mips64el
Conflicts:
libre/audacious-plugins-libre/PKGBUILD
libre/linux-libre/PKGBUILD
Diffstat (limited to 'libre/sh-roundup/PKGBUILD')
-rw-r--r-- | libre/sh-roundup/PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/libre/sh-roundup/PKGBUILD b/libre/sh-roundup/PKGBUILD new file mode 100644 index 000000000..7c17669d3 --- /dev/null +++ b/libre/sh-roundup/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net + +pkgname=sh-roundup +pkgver=0.0.5.git17 +_gitver='commit=695ae7609353a360556e1f465ac81ce447235179' + +pkgdesc='A unit testing framework for POSIX shell' +license=("custom:MIT") +url="http://bmizerany.github.io/roundup/" + +pkgrel=1 +arch=('any') +depends=(sh) +makedepends=(ronn) + +source=("libre://$pkgname-$pkgver.tar.gz" 'makefile-fix.patch') +md5sums=('8b1f85316d178eb9e809e168f52d0f2d' + '9efcd83d666c1e84302fe611610c60fa') + +mksource=("git://github.com/bmizerany/roundup.git#${_gitver}") +mkmd5sums=('SKIP') +mksource() { + cd "$srcdir" + rm -rf $pkgname-* + mv roundup $pkgname-$pkgver +} + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + patch -i ../makefile-fix.patch Makefile +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix="$pkgdir"/usr + make -j1 build man +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make -j1 install install-man + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + |