aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-21 23:02:09 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-21 23:07:36 +0200
commit47866b89047b2db40d94c70ffcfd92acda49ef43 (patch)
treeb8b157ea756d1deae18e21beb9941a40b437f9d9
parentd5ca33f5ae04c54c6f2a194cd00e220455e0d2f4 (diff)
downloadaports-47866b89047b2db40d94c70ffcfd92acda49ef43.tar.bz2
aports-47866b89047b2db40d94c70ffcfd92acda49ef43.tar.xz
testing/lua-srcdiet: rename luasrcdiet to lua-srcdiet
-rw-r--r--testing/lua-srcdiet/APKBUILD (renamed from testing/luasrcdiet/APKBUILD)11
1 files changed, 6 insertions, 5 deletions
diff --git a/testing/luasrcdiet/APKBUILD b/testing/lua-srcdiet/APKBUILD
index cb690b3c02..bba83f574d 100644
--- a/testing/luasrcdiet/APKBUILD
+++ b/testing/lua-srcdiet/APKBUILD
@@ -1,6 +1,7 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
-pkgname=luasrcdiet
+pkgname=lua-srcdiet
+_pkgname=luasrcdiet
pkgver=0.3.0
pkgrel=0
pkgdesc="Compresses Lua source code by removing unnecessary characters"
@@ -9,8 +10,8 @@ arch="noarch"
license="MIT"
depends="lua"
makedepends="lua-dev"
-source="$pkgname-$pkgver.tar.gz::https://github.com/jirutka/$pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+source="$pkgname-$pkgver.tar.gz::https://github.com/jirutka/$_pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
options="!check" # upstream does not provide tests yet
package() {
@@ -20,7 +21,7 @@ package() {
mkdir -p "$pkgdir"/$lmod_dir
cp -r $pkgname "$pkgdir"/$lmod_dir/
- install -D -m 755 bin/$pkgname "$pkgdir"/usr/bin/$pkgname
+ install -D -m 755 bin/$_pkgname "$pkgdir"/usr/bin/$_pkgname
}
-sha512sums="3703c0dbcff7610ab375a41971ab3a7cc3db86b0b49dec52f3f9b6ca7ebea7b84dd144f8dc0b042453f6b1b880b61fe8a756231a1bed3d304fda7d2a831a49ab luasrcdiet-0.3.0.tar.gz"
+sha512sums="3703c0dbcff7610ab375a41971ab3a7cc3db86b0b49dec52f3f9b6ca7ebea7b84dd144f8dc0b042453f6b1b880b61fe8a756231a1bed3d304fda7d2a831a49ab lua-srcdiet-0.3.0.tar.gz"