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

Eli Schwartz eschwartz at archlinux.org
Thu Dec 10 19:38:57 UTC 2020


    Date: Thursday, December 10, 2020 @ 19:38:57
  Author: eschwartz
Revision: 773069

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-10 19:38:41 UTC (rev 773068)
+++ PKGBUILD	2020-12-10 19:38:57 UTC (rev 773069)
@@ -1,49 +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=2.0.2
-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=('b86b307768a68b0090a890dd951702970c5ceb69d31ba26a0e8719ec5d5ab053')
-b2sums=('326e1e6e582fd2c3f8e878ad286da90678e577a4ed0a85e105b1d3cf3e744700c65f3ea40b0feac38407582a104a760a241522fff858d9349b850c68ccfcf796')
-
-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 773068, xapp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-10 19:38:57 UTC (rev 773069)
@@ -0,0 +1,49 @@
+# 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.3
+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=('7583fa65ee1cb2ed78be59cf313726c28a47c88c79c1cc3db0fcb83355621cdd')
+b2sums=('44ba3e599f821f6cfb9d8c9e7f77f34200fcabbb7323c45792ad9968cc9ac7e34526ebaab5f7278115ecc4d4cb284fa0dec572ab418b72f2e74bc25f5237560b')
+
+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