[arch-commits] Commit in xapps/repos/community-x86_64 (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Fri Apr 24 04:57:00 UTC 2020
Date: Friday, April 24, 2020 @ 04:56:58
Author: eschwartz
Revision: 618758
archrelease: copy trunk to community-x86_64
Added:
xapps/repos/community-x86_64/PKGBUILD
(from rev 618757, xapps/trunk/PKGBUILD)
Deleted:
xapps/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-24 04:56:43 UTC (rev 618757)
+++ PKGBUILD 2020-04-24 04:56:58 UTC (rev 618758)
@@ -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.10
-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=('4dd228a2165f1077f18d6fb3152bb77d365ffbb8ad883ed4dd9137886dd21377')
-b2sums=('26c29b75adc81edbd7587c71747f4dd5f9b75a3ace274da81a49c55418641900b1c8411b9b1c21d38d9f143f3eab21fe6a0b9c1650b28807909f1555c3622853')
-
-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 618757, xapps/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-24 04:56:58 UTC (rev 618758)
@@ -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.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
+}
More information about the arch-commits
mailing list