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

Eli Schwartz eschwartz at archlinux.org
Mon Apr 27 03:13:41 UTC 2020


    Date: Monday, April 27, 2020 @ 03:13:41
  Author: eschwartz
Revision: 621785

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   90 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 44 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-27 03:13:26 UTC (rev 621784)
+++ PKGBUILD	2020-04-27 03:13:41 UTC (rev 621785)
@@ -1,46 +0,0 @@
-# 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.8.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')
-makedepends=('meson' 'samurai' 'gobject-introspection' 'python-gobject' 'python2-gobject' 'vala')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('71ac9b89885630bc096202c4766493bb246ca1b2f0bd115efa4f0a5041f8f7e1')
-b2sums=('2179e8aea85a1b2b6e10d02560cc74f3a1d88d66ae5ed95c92d86a82b69fa7414e94d358eb5ee42ec03e35291bc3ba0f75019c7f602e6e2d36de642b8ae6e3d7')
-
-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.
-    for _python in python3 python2; do
-        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/${_python}* -name '*.py' -print0)
-    done
-}

Copied: xapps/repos/community-x86_64/PKGBUILD (from rev 621784, xapps/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-27 03:13:41 UTC (rev 621785)
@@ -0,0 +1,44 @@
+# 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.8.1
+pkgrel=1
+pkgdesc="Common library for X-Apps project"
+arch=('x86_64')
+url="https://github.com/linuxmint/${pkgname}"
+license=('GPL')
+depends=('libdbusmenu-gtk3' 'libgnomekbd')
+makedepends=('meson' 'samurai' 'gobject-introspection' 'python-gobject' 'vala')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('fa4dbe94d9c64621381f1fca89ec6113902931e4577a776e690548ee3f896720')
+b2sums=('ad5b7d0d3637269de025bad1fcf79ee471353fc88f377c3f2777328b9337766c98b8bfb2acbf9ece40b874459fed55ad33f1167024a9cb66779245cc76a60f03')
+
+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