blob: 4c975a04103122234006584368ecaf7ac3181394 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=duhdraw
pkgver=2.8.13
pkgrel=2
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"
|