diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-28 13:14:15 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-28 13:59:05 +0000 |
commit | 8a105715b3bada06f801aa722475d7f88c4c01eb (patch) | |
tree | d6b5981a57309ac0a659335f9a1f6df1d4ea1239 /main/lua-aports | |
parent | de3d6c2eb53c74e250ba15ffc38a39f784f643a0 (diff) | |
download | aports-8a105715b3bada06f801aa722475d7f88c4c01eb.tar.bz2 aports-8a105715b3bada06f801aa722475d7f88c4c01eb.tar.xz |
main/lua-aports: new aport
Lua modules for parsing aports tree
http://dev.alpinelinux.org/archive/lua-aports/
Diffstat (limited to 'main/lua-aports')
-rw-r--r-- | main/lua-aports/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/lua-aports/APKBUILD b/main/lua-aports/APKBUILD new file mode 100644 index 000000000..456eaf4d2 --- /dev/null +++ b/main/lua-aports/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=lua-aports +pkgver=0.1 +pkgrel=0 +pkgdesc="Lua modules for parsing aports tree" +url="http://dev.alpinelinux.org/archive/lua-aports/" +arch="noarch" +license="MIT" +depends="" +depends_dev="" +makedepends="$depends_dev lua5.2-filesystem lua5.2" +install="" +replaces="abuild" +subpackages="" +source="http://dev.alpinelinux.org/archive/lua-aports/lua-aports-$pkgver.tar.xz" + +_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 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="d2b71fee354a721d49637a366648817e lua-aports-0.1.tar.xz" +sha256sums="ac7a17a3190959f5840ffe47cb101053298ecf2de04b284835360e19f840db27 lua-aports-0.1.tar.xz" +sha512sums="765b51b37e9e47725752b1e236ef8355282ee738f306e1e7870ae888146214cf886663cd16fa746ee8a91cccf901712cfe43ed449987988cf83b8024148bfcfe lua-aports-0.1.tar.xz" |