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

Eli Schwartz eschwartz at archlinux.org
Fri Nov 27 05:52:27 UTC 2020


    Date: Friday, November 27, 2020 @ 05:52:27
  Author: eschwartz
Revision: 763971

archrelease: copy trunk to community-x86_64

Added:
  xapp/repos/community-x86_64/PKGBUILD
    (from rev 763970, xapp/trunk/PKGBUILD)
Deleted:
  xapp/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  109 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 61 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-27 05:51:54 UTC (rev 763970)
+++ PKGBUILD	2020-11-27 05:52:27 UTC (rev 763971)
@@ -1,48 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Alex Filgueira <alexfilgueira (at antergos.com)>
-# Contributor: Nate Simon <aurpkg (at natesimon.net)>
-
-pkgname=xapp
-pkgver=1.8.10
-pkgrel=1
-pkgdesc="Common library for X-Apps project"
-arch=('x86_64')
-url="https://github.com/linuxmint/${pkgname}"
-license=('GPL')
-depends=('libdbusmenu-gtk3' 'libgnomekbd')
-optdepends=('python: for mate-desktop status applet')
-makedepends=('meson' 'samurai' 'gobject-introspection' 'python-gobject' 'vala')
-provides=('xapps')
-conflicts=('xapps')
-replaces=('xapps')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('a0d542de6dc4d6a318bdf1fad88447db270ab2dd0582f0c6f28008cc77337672')
-b2sums=('cda37ade7d8cd3f9ffb5fd1e6ac7ed5841f9ccc8c8735cfc5a7d88a0a3530614b70dd56395b4f36a6c39b980df83c5668b44f45223240ed1009918178ee0e88f')
-
-build() {
-    mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
-    cd "${srcdir}"/${pkgname}-${pkgver}/build
-
-    meson --prefix=/usr \
-          --libexecdir=lib \
-          --buildtype=plain \
-          ..
-    samu
-}
-
-package(){
-    cd "${srcdir}"/${pkgname}-${pkgver}/build
-
-    DESTDIR="${pkgdir}" samu install
-    # rm useless scripts
-    rm -r "${pkgdir}"/usr/bin
-
-    # byte-compile python modules since meson does not implement autotools'
-    # py-compile.
-    # This is kind of ugly but removes traces of the build root.
-    while read -rd '' _file; do
-        _destdir="$(dirname "${_file#${pkgdir}}")"
-        python -m compileall -d "${_destdir}" "${_file}"
-        python -O -m compileall -d "${_destdir}" "${_file}"
-    done < <(find "${pkgdir}"/usr/lib/python3* -name '*.py' -print0)
-}

Copied: xapp/repos/community-x86_64/PKGBUILD (from rev 763970, xapp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-27 05:52:27 UTC (rev 763971)
@@ -0,0 +1,61 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Alex Filgueira <alexfilgueira (at antergos.com)>
+# Contributor: Nate Simon <aurpkg (at natesimon.net)>
+
+pkgname=xapp
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Common library for X-Apps project"
+arch=('x86_64')
+url="https://github.com/linuxmint/${pkgname}"
+license=('GPL')
+depends=('libdbusmenu-gtk3' 'libgnomekbd')
+optdepends=('python: for mate-desktop status applet')
+makedepends=('meson' 'samurai' 'gobject-introspection' 'python-gobject' 'vala')
+provides=('xapps')
+conflicts=('xapps')
+replaces=('xapps')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
+        "https://github.com/linuxmint/xapp/pull/117/commits/8fb391b5d8f081d6fa1ed4a7d9f56e175aae31ff.patch")
+sha256sums=('cc33dea39cc1092e77280ba290b94adf991125d922b285dc20c5a62cc41dac29'
+            'e5e0e3462746d2c967d136a5561de72fb67b9882d644fad30d516512eb8f5255')
+b2sums=('64159030705a8f94c4ebebc361a78b34ede83ff21e8ef66fe0445d0ff69f1d8546ccbe19625bad1ce9101fa6c4654ef3706ca9b0fc006f3b934562f388e96814'
+        '785f78e9f0dd51ae70388d09de26d760a530a6859f78995197fc9eacd1b4c483c3570b2e716ad27c9133f6b2f5e835507ba203359ed81069fc9b4e5c09ef8995')
+
+prepare() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    # do not install file in Debian-specific location that doesn't work anywhere else
+    # https://github.com/linuxmint/xapp/pull/117
+    patch -p1 -i ../8fb391b5d8f081d6fa1ed4a7d9f56e175aae31ff.patch
+
+}
+
+build() {
+    mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
+    cd "${srcdir}"/${pkgname}-${pkgver}/build
+
+    meson --prefix=/usr \
+          --libexecdir=lib \
+          --buildtype=plain \
+          ..
+    samu
+}
+
+package(){
+    cd "${srcdir}"/${pkgname}-${pkgver}/build
+
+    DESTDIR="${pkgdir}" samu install
+
+    # rm useless scripts
+    rm -r "${pkgdir}"/usr/bin
+
+    # byte-compile python modules since meson does not implement autotools'
+    # py-compile.
+    # This is kind of ugly but removes traces of the build root.
+    while read -rd '' _file; do
+        _destdir="$(dirname "${_file#${pkgdir}}")"
+        python -m compileall -d "${_destdir}" "${_file}"
+        python -O -m compileall -d "${_destdir}" "${_file}"
+    done < <(find "${pkgdir}"/usr/lib/python3* -name '*.py' -print0)
+}



More information about the arch-commits mailing list