[arch-commits] Commit in lgi/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Tue Mar 18 15:18:08 UTC 2014
Date: Tuesday, March 18, 2014 @ 16:18:08
Author: bpiotrowski
Revision: 208177
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
lgi/repos/extra-i686/
lgi/repos/extra-i686/PKGBUILD
(from rev 208176, lgi/trunk/PKGBUILD)
lgi/repos/extra-x86_64/
lgi/repos/extra-x86_64/PKGBUILD
(from rev 208176, lgi/trunk/PKGBUILD)
-----------------------+
extra-i686/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++
extra-x86_64/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 104 insertions(+)
Copied: lgi/repos/extra-i686/PKGBUILD (from rev 208176, lgi/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2014-03-18 15:18:08 UTC (rev 208177)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: speps <speps at aur dot archlinux dot org>
+# Maintainer: Sébastien Luttringer
+
+pkgbase=lgi
+pkgname=(lua-lgi)
+pkgver=0.7.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')
+depends=('glibc' 'glib2' 'libffi' 'lua' 'gobject-introspection')
+replaces=('lgi')
+conflicts=('lgi')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pavouk/$pkgbase/archive/$pkgver.tar.gz")
+md5sums=('f41902695c3d8ef40312d7c654885bf3')
+
+build() {
+ cd $pkgbase-$pkgver
+ make
+}
+
+package_lua-lgi() {
+ cd $pkgbase-$pkgver
+ make \
+ LUA_LIBDIR=/usr/lib/lua/5.2 \
+ LUA_SHAREDIR=/usr/share/lua/5.2 \
+ DESTDIR="$pkgdir/" install
+
+ # dump typelib tool
+ install -Dm755 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"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: lgi/repos/extra-x86_64/PKGBUILD (from rev 208176, lgi/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2014-03-18 15:18:08 UTC (rev 208177)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: speps <speps at aur dot archlinux dot org>
+# Maintainer: Sébastien Luttringer
+
+pkgbase=lgi
+pkgname=(lua-lgi)
+pkgver=0.7.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')
+depends=('glibc' 'glib2' 'libffi' 'lua' 'gobject-introspection')
+replaces=('lgi')
+conflicts=('lgi')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pavouk/$pkgbase/archive/$pkgver.tar.gz")
+md5sums=('f41902695c3d8ef40312d7c654885bf3')
+
+build() {
+ cd $pkgbase-$pkgver
+ make
+}
+
+package_lua-lgi() {
+ cd $pkgbase-$pkgver
+ make \
+ LUA_LIBDIR=/usr/lib/lua/5.2 \
+ LUA_SHAREDIR=/usr/share/lua/5.2 \
+ DESTDIR="$pkgdir/" install
+
+ # dump typelib tool
+ install -Dm755 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"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list