[arch-commits] Commit in lgi/repos/testing-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jul 31 18:36:20 UTC 2020


    Date: Friday, July 31, 2020 @ 18:36:19
  Author: felixonmars
Revision: 392804

archrelease: copy trunk to testing-x86_64

Added:
  lgi/repos/testing-x86_64/PKGBUILD
    (from rev 392803, lgi/trunk/PKGBUILD)
Deleted:
  lgi/repos/testing-x86_64/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-31 18:36:04 UTC (rev 392803)
+++ PKGBUILD	2020-07-31 18:36:19 UTC (rev 392804)
@@ -1,47 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: speps <speps at aur dot archlinux dot org>
-# Contributor: Sébastien Luttringer
-
-pkgbase=lgi
-pkgname=('lua53-lgi')
-pkgver=0.9.2
-pkgrel=2
-pkgdesc='Lua bindings for gnome/gobject using gobject-introspection library'
-url='https://github.com/pavouk/lgi'
-arch=('x86_64')
-license=('MIT')
-depends=('glibc' 'glib2' 'libffi' 'lua53' 'gobject-introspection-runtime')
-makedepends=('gobject-introspection')
-replaces=('lgi')
-conflicts=('lgi')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/pavouk/lgi/archive/${pkgver}.tar.gz)
-sha512sums=('755a96b78530f42da6d4e2664f8e37cb07a356419e7e6448003c3f841c9d98ad18b851715d9eb203ea7eb27b13ec46223fa8a1c90a99fd12960ce85b0a695335')
-
-build() {
-  cd ${pkgbase}-${pkgver}
-  CFLAGS="$CFLAGS -I/usr/include/lua5.3" make
-}
-
-check() {
-  cd ${pkgbase}-${pkgver}
-  # TODO: fix cairo-gobject dependency
-  # make check
-}
-
-package_lua53-lgi() {
-  cd ${pkgbase}-${pkgver}
-  make \
-    LUA_LIBDIR=/usr/lib/lua/5.3 \
-    LUA_SHAREDIR=/usr/share/lua/5.3 \
-    DESTDIR="${pkgdir}/" install
-
-  install -Dm 755 tools/dump-typelib.lua "${pkgdir}/usr/bin/dump-typelib"
-
-  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: ts=2 sw=2 et:

Copied: lgi/repos/testing-x86_64/PKGBUILD (from rev 392803, lgi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-31 18:36:19 UTC (rev 392804)
@@ -0,0 +1,47 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Sébastien Luttringer
+
+pkgbase=lgi
+pkgname=('lua53-lgi')
+pkgver=0.9.2
+pkgrel=3
+pkgdesc='Lua bindings for gnome/gobject using gobject-introspection library'
+url='https://github.com/pavouk/lgi'
+arch=('x86_64')
+license=('MIT')
+depends=('glibc' 'glib2' 'libffi' 'lua53' 'gobject-introspection-runtime')
+makedepends=('gobject-introspection')
+replaces=('lgi')
+conflicts=('lgi' 'lua-lgi')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/pavouk/lgi/archive/${pkgver}.tar.gz)
+sha512sums=('755a96b78530f42da6d4e2664f8e37cb07a356419e7e6448003c3f841c9d98ad18b851715d9eb203ea7eb27b13ec46223fa8a1c90a99fd12960ce85b0a695335')
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  CFLAGS="$CFLAGS -I/usr/include/lua5.3" make
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+  # TODO: fix cairo-gobject dependency
+  # make check
+}
+
+package_lua53-lgi() {
+  cd ${pkgbase}-${pkgver}
+  make \
+    LUA_LIBDIR=/usr/lib/lua/5.3 \
+    LUA_SHAREDIR=/usr/share/lua/5.3 \
+    DESTDIR="${pkgdir}/" install
+
+  install -Dm 755 tools/dump-typelib.lua "${pkgdir}/usr/bin/dump-typelib"
+
+  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: ts=2 sw=2 et:


More information about the arch-commits mailing list