diff options
Diffstat (limited to 'main/termrec/APKBUILD')
-rw-r--r-- | main/termrec/APKBUILD | 46 |
1 files changed, 20 insertions, 26 deletions
diff --git a/main/termrec/APKBUILD b/main/termrec/APKBUILD index 5417ad165b..2accefcf5b 100644 --- a/main/termrec/APKBUILD +++ b/main/termrec/APKBUILD @@ -2,41 +2,35 @@ # Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> pkgname=termrec pkgver=0.17 -pkgrel=0 -pkgdesc="termrec is a program for recording "videos" of terminal output" +pkgrel=1 +pkgdesc="termrec is a program for recording videos of terminal output" url="http://angband.pl/termrec.html" arch="all" license="GPL" -depends="" -depends_dev="" -makedepends="zlib-dev" -install="" +makedepends="zlib-dev bzip2-dev" +checkdepends="xz-dev autoconf" subpackages="$pkgname-dev $pkgname-doc" -source="http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz" +source="http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz + Fix-a-bashism-in-the-testsuite.patch" options="libtool" -_builddir=${srcdir}/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure --prefix=/usr - make || return 1 - } + make +} + +check() { + cd "$builddir" + make check +} package() { - cd "$_builddir" - make DESTDIR="$pkgdir/" install - } + cd "$builddir" + make DESTDIR="$pkgdir/" install +} -md5sums="4d0bc41411196a81157a72b68736a0f4 termrec-0.17.tar.xz" -sha256sums="62f02c245b36d9059aef91a70fa8daee7cd946f22eac2947a1204d7bf4e63473 termrec-0.17.tar.xz" -sha512sums="43b9649b9dfff0b01fc545a388b21341f40667b176b585c160a28efa6b2cde1ef1d60770423c5739d790d6ad2e53ee7f81ad0ab28545d595a442f94d10a52e58 termrec-0.17.tar.xz" +sha512sums="43b9649b9dfff0b01fc545a388b21341f40667b176b585c160a28efa6b2cde1ef1d60770423c5739d790d6ad2e53ee7f81ad0ab28545d595a442f94d10a52e58 termrec-0.17.tar.xz +7b2de6d264db3644380cfd6e1b4266f7e1e371621f8b96f57c7cd5f4dbf19a5656a31e6538e7411a21a0f5613df1ffcccb21a544d345755232050fd6595e1e53 Fix-a-bashism-in-the-testsuite.patch" |