diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-11-01 09:19:40 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-01 09:19:40 +0200 |
commit | ade33388824f40642561792faa899cfeb98c3f92 (patch) | |
tree | 76a61703406fb1df84da9882bc7d6d289d75a93b /main/asciidoc/APKBUILD | |
parent | dca201274323395d1127018e919324715ebd2cd5 (diff) | |
download | aports-ade33388824f40642561792faa899cfeb98c3f92.tar.bz2 aports-ade33388824f40642561792faa899cfeb98c3f92.tar.xz |
main/[various]: set proper arch
fixes commit "main/[various]: dont set arch in split function"
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 } |