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

Eli Schwartz eschwartz at archlinux.org
Fri Jun 14 14:53:54 UTC 2019


    Date: Friday, June 14, 2019 @ 14:53:54
  Author: eschwartz
Revision: 481470

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   85 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-14 14:53:41 UTC (rev 481469)
+++ PKGBUILD	2019-06-14 14:53:54 UTC (rev 481470)
@@ -1,42 +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.4.5
-pkgrel=1
-pkgdesc="Common library for X-Apps project"
-arch=('x86_64')
-url="https://github.com/linuxmint/${pkgname}"
-license=('GPL')
-depends=('libgnomekbd')
-makedepends=('meson' 'gobject-introspection' 'python-gobject' 'python2-gobject' 'vala')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('6b139fba9b7a185ee9d3c81e5096591316b3e3b793ea448a3b49fb3cc1b9a706')
-
-build() {
-    mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
-    cd "${srcdir}"/${pkgname}-${pkgver}/build
-
-    meson --prefix=/usr --buildtype=plain ..
-    ninja
-}
-
-package(){
-    cd "${srcdir}"/${pkgname}-${pkgver}/build
-
-    DESTDIR="${pkgdir}" ninja 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 481469, xapps/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-14 14:53:54 UTC (rev 481470)
@@ -0,0 +1,43 @@
+# 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.4.6
+pkgrel=1
+pkgdesc="Common library for X-Apps project"
+arch=('x86_64')
+url="https://github.com/linuxmint/${pkgname}"
+license=('GPL')
+depends=('libgnomekbd')
+makedepends=('meson' 'gobject-introspection' 'python-gobject' 'python2-gobject' 'vala')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('60e77709338cc2672f4eeabef70f03623ec9f082e84a9349a39857da2d556296')
+b2sums=('6c4c227131c886ae7676dcce568e87ead8ebe4f4b21a14fddbb5041f59c932640f89e74358aee1df70ada0d97f7fa5cc6c0d254844b16b36f669bd803b32013d')
+
+build() {
+    mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
+    cd "${srcdir}"/${pkgname}-${pkgver}/build
+
+    meson --prefix=/usr --buildtype=plain ..
+    ninja
+}
+
+package(){
+    cd "${srcdir}"/${pkgname}-${pkgver}/build
+
+    DESTDIR="${pkgdir}" ninja 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