summaryrefslogtreecommitdiffstats
path: root/main/asciidoc/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-06-15 10:32:34 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-06-15 11:41:50 +0000
commitbaff8013338aba607d3d08c9772f993f67d2efaf (patch)
tree2305fcce4078df0162e558ce43f38b0f3a4c7cae /main/asciidoc/APKBUILD
parent6a5747495e9381e292264f703a9a969f451cc712 (diff)
downloadaports-baff8013338aba607d3d08c9772f993f67d2efaf.tar.bz2
aports-baff8013338aba607d3d08c9772f993f67d2efaf.tar.xz
main/asciidoc: license version specified
Diffstat (limited to 'main/asciidoc/APKBUILD')
-rw-r--r--main/asciidoc/APKBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/main/asciidoc/APKBUILD b/main/asciidoc/APKBUILD
index 1549cb199..31657e05d 100644
--- a/main/asciidoc/APKBUILD
+++ b/main/asciidoc/APKBUILD
@@ -5,16 +5,15 @@ pkgrel=0
pkgdesc="Text based documentation"
url="http://www.methods.co.nz/asciidoc/"
arch="noarch"
-license="GPL"
+license="GPL2"
depends="python libxml2-utils docbook-xsl"
-makedepends=
-install=
+makedepends=""
+install=""
subpackages="$pkgname-doc"
source="http://sourceforge.net/projects/asciidoc/files/asciidoc/$pkgver/asciidoc-$pkgver.tar.gz
- vim.patch"
+ vim.patch"
_builddir="$srcdir"/$pkgname-$pkgver
-
prepare() {
cd "$_builddir"
for i in $source; do
@@ -29,14 +28,19 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
}
md5sums="6ffff1ab211f30481741ce4d1e4b12bf asciidoc-8.6.8.tar.gz
7e98fd7aa3fb61af56814e214bd1ab8a vim.patch"
+sha256sums="ffb67f59dccaf6f15db72fcd04fdf21a2f9b703d31f94fcd0c49a424a9fcfbc4 asciidoc-8.6.8.tar.gz
+2ff8e31a7df363df53a3328fb7a9b7a2ac310935ac25b07bf2080b617acfdd87 vim.patch"
+sha512sums="74c5444124f138862a92a1884b8afe8f968c9a2bbe5a8bbaa9413b0fa4f29fb1ab2eab3c59a68e6c6ddd518866f504e34f43c81406a77c1b2033fbff79df7373 asciidoc-8.6.8.tar.gz
+29a7e635da29a4b9bd309c8db06ab76334afb3e969a04d1657b60fa24df4b7bda5900e24e28151cba584bba9a7c30991049cd5650f48b1df621b4f34972de617 vim.patch"