summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDolores Portalatin2018-08-09 23:15:24 -0400
committerDolores Portalatin2018-08-09 23:15:24 -0400
commit4046b4b0f76cc522762b9b64799afda929cb21f4 (patch)
treeb792383816836ca3e6682a910e293655343daaf9
downloadaur-4046b4b0f76cc522762b9b64799afda929cb21f4.tar.gz
created initial package
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD38
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bede113c8c3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = lua-unix
+ pkgver = 20170920
+ pkgrel = 0
+ url = http://25thandclement.com/~william/projects/lunix.html
+ arch = x86_64
+ license = MIT
+ makedepends = lua
+ makedepends = lua51
+ makedepends = lua52
+ source = http://25thandclement.com/~william/projects/releases/lunix-20170920.tgz
+ md5sums = e2ef87e5bfc3432127037c9228305002
+
+pkgname = lua-unix
+ pkgdesc = lua bindings library for common *nix system APIs
+
+pkgname = lua51-unix
+ pkgdesc = lua51 bindings library for common *nix system APIs
+
+pkgname = lua52-unix
+ pkgdesc = lua52 bindings library for common *nix system APIs
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fc78d714096
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: meskarune <admin@doloresportalatin.info>
+
+pkgname=(lua-unix lua51-unix lua52-unix)
+_basename=lunix
+pkgver=20170920
+pkgrel=0
+arch=('x86_64')
+url='http://25thandclement.com/~william/projects/lunix.html'
+license=('MIT')
+makedepends=('lua' 'lua51' 'lua52')
+source=("http://25thandclement.com/~william/projects/releases/$_basename-$pkgver.tgz")
+md5sums=('e2ef87e5bfc3432127037c9228305002')
+
+build() {
+ cd "$_basename-$pkgver"
+ make prefix=/usr
+}
+
+package_lua-unix() {
+ pkgdesc='lua bindings library for common *nix system APIs'
+ cd "$_basename-$pkgver"
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ make prefix=/usr DESTDIR="$pkgdir" install5.3
+}
+
+package_lua51-unix() {
+ pkgdesc='lua51 bindings library for common *nix system APIs'
+ cd "$_basename-$pkgver"
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ make prefix=/usr DESTDIR="$pkgdir" install5.1
+}
+
+package_lua52-unix() {
+ pkgdesc='lua52 bindings library for common *nix system APIs'
+ cd "$_basename-$pkgver"
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ make prefix=/usr DESTDIR="$pkgdir" install5.2
+}