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

Eli Schwartz eschwartz at archlinux.org
Wed Dec 25 15:58:47 UTC 2019


    Date: Wednesday, December 25, 2019 @ 15:58:47
  Author: eschwartz
Revision: 541197

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-25 15:58:34 UTC (rev 541196)
+++ PKGBUILD	2019-12-25 15:58:47 UTC (rev 541197)
@@ -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.6.7
-pkgrel=1
-pkgdesc="Common library for X-Apps project"
-arch=('x86_64')
-url="https://github.com/linuxmint/${pkgname}"
-license=('GPL')
-depends=('libgnomekbd')
-makedepends=('meson' 'samurai' 'gobject-introspection' 'python-gobject' 'python2-gobject' 'vala')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('1f78a1d7d078d5e9dc6736cb47d03d67d7775061843e1764f5b5d35bc7413145')
-b2sums=('cdcaab9ed11070d0db1b1156db14a9c219a6571d735663fd0a39bbd4f7afc9b89d0507fac69f805e211e6c50d069c7ad65e75a4188bbdb2a69481255edcf772e')
-
-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 541196, xapps/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-25 15:58:47 UTC (rev 541197)
@@ -0,0 +1,46 @@
+# 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.6.8
+pkgrel=1
+pkgdesc="Common library for X-Apps project"
+arch=('x86_64')
+url="https://github.com/linuxmint/${pkgname}"
+license=('GPL')
+depends=('libgnomekbd')
+makedepends=('meson' 'samurai' 'gobject-introspection' 'python-gobject' 'python2-gobject' 'vala')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('c559203fd85da7f9d83b552ea840dfc11a3f380cdcc3d7f86c5ea6f6375d2a74')
+b2sums=('c87d59b8ad5ff038d027a509ac395d919c1201d475d6aff024bbed3bb08dedf7174f6cbe34745ded69c6f8c57689a2c602c96e4156174f07fe579338e1e04d64')
+
+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
+}



More information about the arch-commits mailing list