diff options
Diffstat (limited to 'testing/lua5.2-stringy/APKBUILD')
-rw-r--r-- | testing/lua5.2-stringy/APKBUILD | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/testing/lua5.2-stringy/APKBUILD b/testing/lua5.2-stringy/APKBUILD deleted file mode 100644 index 0e19d07199..0000000000 --- a/testing/lua5.2-stringy/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -_luaver=5.2 -pkgname=lua${_luaver}-stringy -pkgver=0.4 -pkgrel=1 -pkgdesc="Lua string utility library" -url="https://code.google.com/p/bpbio/downloads/list" -arch="all" -license="MIT" -depends="" -makedepends="lua${_luaver}-dev" -install="" -subpackages="" -source="lua-projects-$pkgver.tar.gz::https://github.com/brentp/lua-projects/archive/$pkgver.tar.gz" - -_builddir="$srcdir"/lua-projects-$pkgver/stringy -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() { - cd "$_builddir" - make CC="${CC:-gcc}" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \ - LUA_PC="lua$_luaver" LUA="lua$_luaver" || return 1 -} - -package() { - local _lualibdir=/usr/lib/lua/$_luaver - cd "$_builddir" - mkdir -p "$pkgdir"/$_lualibdir - cp stringy.so "$pkgdir"/$_lualibdir/ -} - -md5sums="cac1787756fe42151d7b60df9f19c9e3 lua-projects-0.4.tar.gz" -sha256sums="72a800d2e3e1cc13fbf458ad5cbc06b8ea705afedfe72221dbe9e7cec935721e lua-projects-0.4.tar.gz" -sha512sums="7bcd5449a99e5e1633e9cd1175208f1cde65a8dddbd9a06726c16518805387a5d3809fc7644fae090c4f3e948ed1364911e12d923fc26dbf5378c8adb1a07b3a lua-projects-0.4.tar.gz" |