[arch-commits] Commit in lgi/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sun Oct 15 22:47:47 UTC 2017
Date: Sunday, October 15, 2017 @ 22:47:46
Author: anthraxx
Revision: 307957
upgpkg: lgi 0.9.2-1
Modified:
lgi/trunk/PKGBUILD
----------+
PKGBUILD | 56 +++++++++++++++++++++++++-------------------------------
1 file changed, 25 insertions(+), 31 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-15 22:09:57 UTC (rev 307956)
+++ PKGBUILD 2017-10-15 22:47:46 UTC (rev 307957)
@@ -1,53 +1,47 @@
-# $Id$
-# Maintainer: speps <speps at aur dot archlinux dot org>
-# Maintainer: Sébastien Luttringer
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Sébastien Luttringer
pkgbase=lgi
-pkgname=(lua-lgi)
-pkgver=0.9.1
+pkgname=('lua-lgi')
+pkgver=0.9.2
pkgrel=1
pkgdesc='Lua bindings for gnome/gobject using gobject-introspection library'
-arch=(i686 x86_64)
url='https://github.com/pavouk/lgi'
-license=('custom:MIT')
+arch=('i686' 'x86_64')
+license=('MIT')
depends=('glibc' 'glib2' 'libffi' 'lua' 'gobject-introspection-runtime')
makedepends=('gobject-introspection')
replaces=('lgi')
conflicts=('lgi')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pavouk/$pkgbase/archive/$pkgver.tar.gz")
-md5sums=('0c85f177e4b8192bd849b4e508c8bdf0')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/pavouk/lgi/archive/${pkgver}.tar.gz)
+sha512sums=('755a96b78530f42da6d4e2664f8e37cb07a356419e7e6448003c3f841c9d98ad18b851715d9eb203ea7eb27b13ec46223fa8a1c90a99fd12960ce85b0a695335')
build() {
- cd $pkgbase-$pkgver
+ cd ${pkgbase}-${pkgver}
make
}
+check() {
+ cd ${pkgbase}-${pkgver}
+ # TODO: fix cairo-gobject dependency
+ # make check
+}
+
package_lua-lgi() {
- cd $pkgbase-$pkgver
+ cd ${pkgbase}-${pkgver}
make \
LUA_LIBDIR=/usr/lib/lua/5.3 \
LUA_SHAREDIR=/usr/share/lua/5.3 \
- DESTDIR="$pkgdir/" install
+ DESTDIR="${pkgdir}/" install
- # dump typelib tool
- install -Dm755 tools/dump-typelib.lua \
- "$pkgdir/usr/bin/dump-typelib"
+ install -Dm 755 tools/dump-typelib.lua "${pkgdir}/usr/bin/dump-typelib"
- # docs
- install -d "$pkgdir/usr/share/doc/$pkgname"
- install -Dm644 docs/* \
- "$pkgdir/usr/share/doc/$pkgname"
-
- # samples
- install -d "$pkgdir/usr/share/$pkgname/samples/gtk-demo"
- install -Dm644 samples/*.lua \
- "$pkgdir/usr/share/$pkgname/samples"
- install -Dm644 samples/gtk-demo/* \
- "$pkgdir/usr/share/$pkgname/samples/gtk-demo"
-
- # license
- install -Dm644 LICENSE \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 docs/* -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 samples/*.lua -t "${pkgdir}/usr/share/${pkgname}/samples"
+ install -Dm 644 samples/gtk-demo/* -t "${pkgdir}/usr/share/${pkgname}/samples/gtk-demo"
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list