summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorosch2019-12-12 10:26:53 +0100
committerosch2019-12-12 10:26:53 +0100
commit722d8faf854f0c86b23117e29ad6cab5c553a3b2 (patch)
treee41842781ff9782955e34fa595e88c0775cad53c
downloadaur-722d8faf854f0c86b23117e29ad6cab5c553a3b2.tar.gz
version 1.5
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD32
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..76e2346063b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = lua-oocairo
+ pkgdesc = Module providing access to Cairo from within Lua
+ pkgver = 1.5
+ pkgrel = 1
+ url = https://github.com/awesomeWM/oocairo
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = libtool
+ makedepends = pkgconfig
+ depends = cairo>=1.8.0
+ depends = lua>=5.1
+ provides = lua-oocairo
+ conflicts = lua-oocairo
+ source = https://github.com/awesomeWM/oocairo/archive/v1.5.tar.gz
+ md5sums = 887981465a1eaea01a5af9c71e6fc90c
+
+pkgname = lua-oocairo
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..edd086e8e15
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: osch <oliver@luced.de>
+# Contributor: Pierre Neidhardt <ambrevar@gmail.com>
+# Contributor: Michal Minar <mr.mini@centrum.cz>
+# Contributor: Zsolt Udvari <udvzsolt@gmail.com>
+
+_pkgname=oocairo
+pkgname=lua-$_pkgname
+pkgver=1.5
+pkgrel=1
+pkgdesc="Module providing access to Cairo from within Lua"
+arch=("i686" "x86_64")
+url="https://github.com/awesomeWM/$_pkgname"
+license=("MIT")
+depends=("cairo>=1.8.0" "lua>=5.1")
+makedepends=("git" "libtool" "pkgconfig")
+provides=("lua-oocairo")
+conflicts=("lua-oocairo")
+source=("https://github.com/awesomeWM/$_pkgname/archive/v$pkgver.tar.gz")
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ autoreconf --install
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/lua-$_pkgname/COPYRIGHT"
+}
+md5sums=('887981465a1eaea01a5af9c71e6fc90c')