diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-25 19:32:48 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-25 19:32:48 +0200 |
commit | 57242e7c51d6c643034f5dd8ca60fe1c96ee5cb9 (patch) | |
tree | 67b9e29ae616a4a90e364c7c5aa759b680d22e53 /main/lua-aports | |
parent | 69933189a47471b11eed6edc77c593182e89b5e3 (diff) | |
download | aports-57242e7c51d6c643034f5dd8ca60fe1c96ee5cb9.tar.bz2 aports-57242e7c51d6c643034f5dd8ca60fe1c96ee5cb9.tar.xz |
main/lua-aports: modernize abuild
Diffstat (limited to 'main/lua-aports')
-rw-r--r-- | main/lua-aports/APKBUILD | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/main/lua-aports/APKBUILD b/main/lua-aports/APKBUILD index e870c99907..c832ff3203 100644 --- a/main/lua-aports/APKBUILD +++ b/main/lua-aports/APKBUILD @@ -7,36 +7,18 @@ url="http://dev.alpinelinux.org/archive/lua-aports/" arch="noarch" license="MIT" depends="lua5.2-filesystem lua5.2-optarg lua5.2" -depends_dev="" -makedepends="$depends_dev" -install="" replaces="abuild" -subpackages="" source="http://dev.alpinelinux.org/archive/lua-aports/lua-aports-$pkgver.tar.xz 0001-buildrepo-fix-bug-when-repodest-is-set-with-buildrep.patch 0001-pkg-support-arch-arch-syntax.patch 0001-buildrepo-regenerate-index-if-packages-been-deleted.patch 0001-pkg-db-support-checkdepends-variable.patch " - -_builddir="$srcdir"/lua-aports-$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() { - return 0 -} +builddir="$srcdir/$pkgname-$pkgver" package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="7047f0c902c8f65e8a45ed221e793dd0a0c8abf77f85b21b2d23c4f3c19ab12d9862565615718223ff2633465b85026f260bba4d5851a898475974c93f40797d lua-aports-0.5.tar.xz |