aboutsummaryrefslogtreecommitdiffstats
path: root/main/joe
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-28 11:34:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-28 12:36:38 +0000
commit7735fee115cb7cd6b88a969a3aec5c0c6e959cd1 (patch)
treeeda97525668fa50dd39a1b331958cd1ba29d20eb /main/joe
parent0ad456491baa146c16f7c9a95cb93a61ecca3a42 (diff)
downloadaports-7735fee115cb7cd6b88a969a3aec5c0c6e959cd1.tar.bz2
aports-7735fee115cb7cd6b88a969a3aec5c0c6e959cd1.tar.xz
main/joe: moved from testing
Diffstat (limited to 'main/joe')
-rw-r--r--main/joe/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/joe/APKBUILD b/main/joe/APKBUILD
new file mode 100644
index 0000000000..6ee1013bd9
--- /dev/null
+++ b/main/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"
+