diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-30 08:50:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-30 09:27:16 +0000 |
commit | 67118aa9e0d57ea5b5ea14d8d2045e24569e496e (patch) | |
tree | c0560d9aefac85a3cbafd0a5dbfd71b5d4f2d2a9 /main/lua5.2/APKBUILD | |
parent | e49369a9fbba515630a272fdfb7538be9b8c57c2 (diff) | |
download | aports-67118aa9e0d57ea5b5ea14d8d2045e24569e496e.tar.bz2 aports-67118aa9e0d57ea5b5ea14d8d2045e24569e496e.tar.xz |
main/lua5.2: create symlinks to /usr/lua5.2/{include,lib}
Diffstat (limited to 'main/lua5.2/APKBUILD')
-rw-r--r-- | main/lua5.2/APKBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/main/lua5.2/APKBUILD b/main/lua5.2/APKBUILD index 66edf7b22e..025af2e9a8 100644 --- a/main/lua5.2/APKBUILD +++ b/main/lua5.2/APKBUILD @@ -2,7 +2,7 @@ pkgname=lua5.2 pkgver=5.2.2 _luaver=${pkgname#lua} -pkgrel=0 +pkgrel=1 pkgdesc="Powerful light-weight programming language" url="http://www.lua.org/" arch="all" @@ -117,6 +117,13 @@ EOF } +dev() { + default_dev + mkdir -p "$subpkgdir"/usr/$pkgname + ln -s ../include/$pkgname "$subpkgdir"/usr/$pkgname/include || return 1 + ln -s ../lib/$pkgname "$subpkgdir"/usr/$pkgname/lib || return 1 +} + libs() { pkgdesc="Lua dynamic library runtime" replaces="lua" |