[arch-commits] Commit in xapps/repos/community-x86_64 (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Wed Jul 10 15:25:54 UTC 2019
Date: Wednesday, July 10, 2019 @ 15:25:53
Author: eschwartz
Revision: 488575
archrelease: copy trunk to community-x86_64
Added:
xapps/repos/community-x86_64/PKGBUILD
(from rev 488574, xapps/trunk/PKGBUILD)
Deleted:
xapps/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-07-10 15:25:37 UTC (rev 488574)
+++ PKGBUILD 2019-07-10 15:25:53 UTC (rev 488575)
@@ -1,43 +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.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' 'gobject-introspection' 'python-gobject' 'python2-gobject' 'vala')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('5124506d10d80fdbffcdba04083542c65e3e0ed4b967b12c3e1618de99db2409')
-b2sums=('1f1d08b0cc1e97562dd525e4c006bedd3a0485ecc0d80d7b29a9ce95d8e9244c18c530c1ca8464b1f570d7960f30054309897442199cab3138dd7f7299b3d3e9')
-
-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 488574, xapps/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-07-10 15:25:53 UTC (rev 488575)
@@ -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.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=('6f6c37c568e58ea1644fecc3513708877d358eb3911ff138a992c5078e4b0c73')
+b2sums=('e2f61d6443d3fa4e655a1284afd71f73b9760e03a0c4983c888b563a2c43224eedabc32f39743e50626e245c6f1980f6b5e3190fbbdfb6a7f19c6126c09043f6')
+
+build() {
+ mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
+ cd "${srcdir}"/${pkgname}-${pkgver}/build
+
+ meson --prefix=/usr --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