diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-12-05 12:04:45 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-12-05 12:05:26 +0000 |
commit | e09b5356fd686bd8eae4f0917d1062a7d13b9979 (patch) | |
tree | 74aec3797e13fed4e0fe54f0678b81227ea2d5cc | |
parent | 67359861d98630c5903a5c5bd6cee59d0a66467b (diff) | |
download | aports-e09b5356fd686bd8eae4f0917d1062a7d13b9979.tar.bz2 aports-e09b5356fd686bd8eae4f0917d1062a7d13b9979.tar.xz |
testing/duhdraw: new aport
-rw-r--r-- | testing/duhdraw/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/duhdraw/APKBUILD b/testing/duhdraw/APKBUILD new file mode 100644 index 0000000000..06ff46e8f0 --- /dev/null +++ b/testing/duhdraw/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=duhdraw +pkgver=2.8.13 +pkgrel=0 +pkgdesc="A program which almost perfectly simulates TheDraw for DOS." +url="http://www.cs.helsinki.fi/u/penberg/duhdraw/" +arch="all" +license="GPL2" +depends="" +depends_dev="" +makedepends="$depends_dev ncurses-dev" +install="" +subpackages="" +source="http://www.cs.helsinki.fi/u/penberg/$pkgname/$pkgname-$pkgver.tar.gz" + +_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 +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + mkdir -p $pkgdir/usr/bin + install -m0755 ansi ansitoc duhdraw $pkgdir/usr/bin +} + +md5sums="70211aa3ea927704ffeb9093e4f433b9 duhdraw-2.8.13.tar.gz" +sha256sums="12a432d2874a6f0579879e3242d832139b7f2a4879b2cfcfb6ced046236b4b2c duhdraw-2.8.13.tar.gz" +sha512sums="fa9102133dcd100b2cde58d4d92aabfcdf86bb16a8066191e92922d6cea470094ff226e569bf92d34e1f0f6a3e657eaf3326cecf091ed1bc37bd2faace340798 duhdraw-2.8.13.tar.gz" |