diff options
Diffstat (limited to 'main/asciidoc/APKBUILD')
-rw-r--r-- | main/asciidoc/APKBUILD | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/main/asciidoc/APKBUILD b/main/asciidoc/APKBUILD index 51ec7e2821..ab34d07d57 100644 --- a/main/asciidoc/APKBUILD +++ b/main/asciidoc/APKBUILD @@ -9,21 +9,12 @@ license="GPL2" depends="python2 libxml2-utils docbook-xsl" makedepends="" install="" -subpackages="$pkgname-doc $pkgname-vim" +subpackages="$pkgname-doc $pkgname-vim::noarch" source="http://sourceforge.net/projects/asciidoc/files/asciidoc/$pkgver/asciidoc-$pkgver.tar.gz" -_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 -} - +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -36,7 +27,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } |