diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-16 08:49:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-16 08:49:36 +0000 |
commit | 1ac6bc52787027fecd91fc4113d0bb215b7b1269 (patch) | |
tree | 5d6f4a755f09c60b1a57d2430e0a06b2c39fdd82 /main/asciidoc/APKBUILD | |
parent | beb10bf3c37e04428fad594127adf3acd5874f53 (diff) | |
download | aports-1ac6bc52787027fecd91fc4113d0bb215b7b1269.tar.bz2 aports-1ac6bc52787027fecd91fc4113d0bb215b7b1269.tar.xz |
main/asciidoc: moved from testing
Diffstat (limited to 'main/asciidoc/APKBUILD')
-rw-r--r-- | main/asciidoc/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/asciidoc/APKBUILD b/main/asciidoc/APKBUILD new file mode 100644 index 0000000000..f186ffd848 --- /dev/null +++ b/main/asciidoc/APKBUILD @@ -0,0 +1,41 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=asciidoc +pkgver=8.6.2 +pkgrel=1 +pkgdesc="Text based documentation" +url="http://www.methods.co.nz/asciidoc/" +license="GPL" +depends="python libxml2-utils docbook-xsl" +makedepends= +install= +subpackages="$pkgname-doc" +source="http://sourceforge.net/projects/asciidoc/files/asciidoc/$pkgver/asciidoc-$pkgver.tar.gz + vim.patch" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="6fa7ca8d05e550b193eeaf7528e37e64 asciidoc-8.6.2.tar.gz +7e98fd7aa3fb61af56814e214bd1ab8a vim.patch" |