summaryrefslogtreecommitdiffstats
path: root/main/lua-uuid/APKBUILD
blob: 82f00bf3a770238092b489b348b12c9e4de90e69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: 
# Maintainer: 
pkgname=lua-uuid
pkgver=5.1
pkgrel=1
pkgdesc="Lua library generating universally unique identifiers based on libuuid"
url="http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#luuid"
license="Public Domain"
depends=
makedepends="lua-dev util-linux-ng-dev"
install=
subpackages=
source="http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.1/luuid.tar.gz"

_builddir="$srcdir"/uuid

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	make so || return 1
}

package() {
	cd "$_builddir"
	install -Dm755 uuid.so "$pkgdir"/usr/lib/lua/5.1/uuid.so
}

md5sums="75f2e8c808c0fb375d9ec5255fd5d4de  luuid.tar.gz"