summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Griffis2016-05-27 17:52:19 -0400
committerPatrick Griffis2016-05-27 17:52:19 -0400
commit8ac2b6bca8fcbb5bd09774d91f9fec18de8706e5 (patch)
treed2b8edffd43056ecf98b22b02a53c6fc9d3eb01c
parent4956b597126fe28b548326c4e266f882655106e8 (diff)
downloadaur-8ac2b6bca8fcbb5bd09774d91f9fec18de8706e5.tar.gz
Update to 0.9.1
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD21
2 files changed, 20 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 11da89ae9ef..121bc57cbc3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,17 @@
pkgbase = luajit-lgi
pkgdesc = Lua binadings for gnome/gobject using gobject-introspection library
- pkgver = 0.9.0
+ pkgver = 0.9.1
pkgrel = 1
url = https://github.com/pavouk/lgi
arch = i686
arch = x86_64
license = custom:MIT
- depends = glibc
- depends = glib2
+ makedepends = gobject-introspection
depends = libffi
depends = luajit
- depends = gobject-introspection
- conflicts = lgi
- source = lgi-0.9.0.tar.gz::https://github.com/pavouk/lgi/archive/0.9.0.tar.gz
- md5sums = cc433a597f23cfabdfc905c6c2cd3d7c
+ depends = gobject-introspection-runtime
+ source = lgi-0.9.1.tar.gz::https://github.com/pavouk/lgi/archive/0.9.1.tar.gz
+ sha256sums = 0c70fb2b1ca17d333b7e2c18d5fc943944b5872e063de60df3035ee20b6dafba
pkgname = luajit-lgi
diff --git a/PKGBUILD b/PKGBUILD
index a7e8d5027a5..f8999ed506a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,25 +6,27 @@
_pkgbase=lgi
pkgname=luajit-lgi
-pkgver=0.9.0
+pkgver=0.9.1
pkgrel=1
pkgdesc='Lua binadings for gnome/gobject using gobject-introspection library'
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url='https://github.com/pavouk/lgi'
license=('custom:MIT')
-depends=('glibc' 'glib2' 'libffi' 'luajit' 'gobject-introspection')
+depends=('libffi' 'luajit' 'gobject-introspection-runtime')
+makedepends=('gobject-introspection')
source=("$_pkgbase-$pkgver.tar.gz::https://github.com/pavouk/$_pkgbase/archive/$pkgver.tar.gz")
-md5sums=('cc433a597f23cfabdfc905c6c2cd3d7c')
-conflicts=('lgi')
+sha256sums=('0c70fb2b1ca17d333b7e2c18d5fc943944b5872e063de60df3035ee20b6dafba')
build() {
cd $_pkgbase-$pkgver
+
make LUA_INCDIR=/usr/include/luajit-2.0/ \
- LUA_CFLAGS=$(pkg-config --cflags luajit)
+ LUA_CFLAGS="$(pkg-config --cflags luajit) -O2"
}
package() {
cd $_pkgbase-$pkgver
+
make \
LUA_LIBDIR=/usr/lib/lua/5.1 \
LUA_SHAREDIR=/usr/share/lua/5.1 \
@@ -51,4 +53,11 @@ package() {
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
+check() {
+ cd $_pkgbase-$pkgver
+
+ make LUA=luajit LUA_INCDIR=/usr/include/luajit-2.0/ \
+ LUA_CFLAGS="$(pkg-config --cflags luajit) -O2" check
+}
+
# vim:set ts=2 sw=2 et: