diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-03 08:58:14 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-03 08:58:14 +0000 |
commit | 7e511c9d27078879c8438a206d75cf282bae7040 (patch) | |
tree | b21e2c74f2acb039020d17c7757b9787a0161f84 /testing | |
parent | 360f4d9b8cec176e6dfe9753b04864e7d52fe649 (diff) | |
download | aports-7e511c9d27078879c8438a206d75cf282bae7040.tar.bz2 aports-7e511c9d27078879c8438a206d75cf282bae7040.tar.xz |
testing/joe: new aport
Full featured terminal-based screen editor
http://joe-editor.sourceforge.net/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/joe/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/joe/APKBUILD b/testing/joe/APKBUILD new file mode 100644 index 0000000000..6ee1013bd9 --- /dev/null +++ b/testing/joe/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Danilo Godec <danilo.godec@agenda.si> +# Maintainer: +pkgname=joe +pkgver=3.7 +pkgrel=0 +pkgdesc="Full featured terminal-based screen editor" +url="http://joe-editor.sourceforge.net/" +arch="all" +license="GPL" +depends="" +makedepends="ncurses-dev" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/project/joe-editor/JOE%20sources/$pkgname-$pkgver/$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" + ./configure --prefix=/usr --sysconfdir=/etc || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +md5sums="66de1b073e869ba12abbfcde3885c577 joe-3.7.tar.gz" + |