[arch-commits] Commit in xapps/repos/community-x86_64 (PKGBUILD PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Thu Feb 1 01:02:33 UTC 2018


    Date: Thursday, February 1, 2018 @ 01:02:32
  Author: eschwartz
Revision: 288457

archrelease: copy trunk to community-x86_64

Added:
  xapps/repos/community-x86_64/PKGBUILD
    (from rev 288456, xapps/trunk/PKGBUILD)
Deleted:
  xapps/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   79 +++++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 48 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-01 01:02:13 UTC (rev 288456)
+++ PKGBUILD	2018-02-01 01:02:32 UTC (rev 288457)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Alex Filgueira <alexfilgueira (at antergos.com)>
-# Contributor: Nate Simon <aurpkg (at natesimon.net)>
-
-pkgname=xapps
-pkgver=1.0.4
-pkgrel=1
-pkgdesc="Common library for X-Apps project"
-arch=('i686' 'x86_64')
-url='https://github.com/linuxmint/xapps'
-license=('GPL')
-depends=('libgnomekbd' 'python')
-makedepends=('gnome-common' 'gobject-introspection')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('6578574561cb10b602c67669b0374b71d9cccd5d1c13c17d6a4b6ec2f8fe739a')
-
-build() {
-    cd ${pkgname}-${pkgver}
-
-    ./autogen.sh --prefix=/usr \
-        --localstatedir=/var \
-        --libexecdir=/usr/lib/${pkgname}
-    make
-}
-
-package(){
-    cd ${pkgname}-${pkgver}
-    make DESTDIR="$pkgdir" install
-}
-

Copied: xapps/repos/community-x86_64/PKGBUILD (from rev 288456, xapps/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-02-01 01:02:32 UTC (rev 288457)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Alex Filgueira <alexfilgueira (at antergos.com)>
+# Contributor: Nate Simon <aurpkg (at natesimon.net)>
+
+pkgname=xapps
+pkgver=1.0.4
+pkgrel=2
+pkgdesc="Common library for X-Apps project"
+arch=('x86_64')
+url="https://github.com/linuxmint/xapps"
+license=('GPL')
+depends=('libgnomekbd' 'python')
+makedepends=('gnome-common' 'gobject-introspection' 'python-gobject' 'python2-gobject')
+options=(!emptydirs)
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('6578574561cb10b602c67669b0374b71d9cccd5d1c13c17d6a4b6ec2f8fe739a')
+
+prepare() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+    mkdir -p build build-py2
+
+    cd build
+    ../configure --prefix=/usr \
+                 --localstatedir=/var \
+                 --libexecdir=/usr/lib/${pkgname}
+    make
+
+    cd ../build-py2
+    PYTHON=python2 ../configure --prefix=/usr \
+                                --localstatedir=/var \
+                                --libexecdir=/usr/lib/${pkgname}
+}
+
+package(){
+    cd "${srcdir}"/${pkgname}-${pkgver}
+    make -C build DESTDIR="${pkgdir}" install
+    make -C build-py2/pygobject DESTDIR="${pkgdir}" install
+
+    # Not worth fixing out-of-tree builds properly as git master has migrated to meson
+    cp -Rv files/usr/share "${pkgdir}"/usr
+}



More information about the arch-commits mailing list