aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-turbo/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-11-10 15:01:16 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2015-11-10 15:02:26 +0100
commitcf54d5a71e957d19009fc88e61ab420d7bfc6839 (patch)
tree611101298dfa68e82f4d53864b217440f94023ed /main/lua-turbo/APKBUILD
parentedcd2fc03278ac8ff6c3cb1c98e33805ada8ce93 (diff)
downloadaports-cf54d5a71e957d19009fc88e61ab420d7bfc6839.tar.bz2
aports-cf54d5a71e957d19009fc88e61ab420d7bfc6839.tar.xz
main/lua-turbo: add initd/confd
Diffstat (limited to 'main/lua-turbo/APKBUILD')
-rw-r--r--main/lua-turbo/APKBUILD22
1 files changed, 17 insertions, 5 deletions
diff --git a/main/lua-turbo/APKBUILD b/main/lua-turbo/APKBUILD
index dd51d391fc..de56909d90 100644
--- a/main/lua-turbo/APKBUILD
+++ b/main/lua-turbo/APKBUILD
@@ -4,7 +4,7 @@
pkgname=lua-turbo
_jitver=2.0.4
pkgver=2.0.3
-pkgrel=0
+pkgrel=1
pkgdesc="a framework built for LuaJIT 2 and Linux"
url="http://www.turbolua.org/"
arch="all"
@@ -14,7 +14,9 @@ depends_dev=""
makedepends="$depends_dev openssl-dev"
install=""
subpackages=""
-source="$pkgname-$pkgver.tar.gz::https://github.com/kernelsauce/turbo/archive/v$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/kernelsauce/turbo/archive/v$pkgver.tar.gz
+ ${pkgname}.initd
+ ${pkgname}.confd"
_builddir="$srcdir/turbo-$pkgver"
@@ -55,8 +57,18 @@ build() {
package() {
cd "$_builddir"
make PREFIX="$pkgdir"/usr install || return 1
+ install -Dm 755 "$srcdir"/${pkgname}.initd \
+ $pkgdir/etc/init.d/$pkgname || return 1
+ install -Dm 644 "$srcdir"/${pkgname}.confd \
+ $pkgdir/etc/conf.d/$pkgname || return 1
}
-md5sums="2e701b97838dcee8ebbd1c4d4a286a91 lua-turbo-2.0.3.tar.gz"
-sha256sums="4c4d8367d68319974dc4a48f0e65930eca20a02ff9694c4947a9be14ee95cdc9 lua-turbo-2.0.3.tar.gz"
-sha512sums="339fd95e0dda393d845fe2dc53e65936a7648f21e543ebdd88435f171791c48b4e281ed6702849c70e5b5bf3b117a99dffe1c1aa9553ebd8471c9ee535820533 lua-turbo-2.0.3.tar.gz"
+md5sums="2e701b97838dcee8ebbd1c4d4a286a91 lua-turbo-2.0.3.tar.gz
+61c475d79bef1c65d9913e7c8fbfc9e3 lua-turbo.initd
+321fe55bbd0b124b65339ad22823eda0 lua-turbo.confd"
+sha256sums="4c4d8367d68319974dc4a48f0e65930eca20a02ff9694c4947a9be14ee95cdc9 lua-turbo-2.0.3.tar.gz
+379fe987aaab428051cf6ab4f3b9246b0ce29e09b0dee0b74a7b6c85b3e14629 lua-turbo.initd
+9796bf17f8971440453b636f4fe2f132cbceea0ca091fe1165be274310746f4b lua-turbo.confd"
+sha512sums="339fd95e0dda393d845fe2dc53e65936a7648f21e543ebdd88435f171791c48b4e281ed6702849c70e5b5bf3b117a99dffe1c1aa9553ebd8471c9ee535820533 lua-turbo-2.0.3.tar.gz
+2e91d5dda33b4bf09667fd23c80a471e93605125a820c440c2b1b022b8bce6ab065493473b153f1fa1863e9655f6413dbe42dc983260da4ed8bee3b2e3743ec2 lua-turbo.initd
+3d2816738a2ee615bb6523b6b0aff12a51062e56ade5dbaa4b1b63afda8dce0a532c099b8a03fe67d589058ac8a7d49434a68fb28d93b167a56c56acc7596fdb lua-turbo.confd"