[arch-commits] Commit in xapp/repos/community-x86_64 (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Sun Feb 28 16:57:06 UTC 2021
Date: Sunday, February 28, 2021 @ 16:57:05
Author: eschwartz
Revision: 875894
archrelease: copy trunk to community-x86_64
Added:
xapp/repos/community-x86_64/PKGBUILD
(from rev 875893, xapp/trunk/PKGBUILD)
Deleted:
xapp/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-28 16:56:49 UTC (rev 875893)
+++ PKGBUILD 2021-02-28 16:57:05 UTC (rev 875894)
@@ -1,49 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Alex Filgueira <alexfilgueira (at antergos.com)>
-# Contributor: Nate Simon <aurpkg (at natesimon.net)>
-
-pkgname=xapp
-pkgver=2.0.5
-pkgrel=1
-pkgdesc="Common library for X-Apps project"
-arch=('x86_64')
-url="https://github.com/linuxmint/${pkgname}"
-license=('GPL')
-depends=('libdbusmenu-gtk3' 'libgnomekbd')
-optdepends=('python: for mate-desktop status applet')
-makedepends=('meson' 'samurai' 'gobject-introspection' 'python-gobject' 'vala')
-provides=('xapps')
-conflicts=('xapps')
-replaces=('xapps')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('7622e85bc3310f66d04e406eae81ffad5755ed78f3e26c6567d13b16713ceaf6')
-b2sums=('5af266ae599068c46c8e7684602370199a9b9b45fdbfa6f727d82a44ce752f67ede035403ae99a4fffd809d5e9f58cd07f4820b8f478b755ace5346b9f8b2859')
-
-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)
-}
Copied: xapp/repos/community-x86_64/PKGBUILD (from rev 875893, xapp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-28 16:57:05 UTC (rev 875894)
@@ -0,0 +1,49 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Alex Filgueira <alexfilgueira (at antergos.com)>
+# Contributor: Nate Simon <aurpkg (at natesimon.net)>
+
+pkgname=xapp
+pkgver=2.0.7
+pkgrel=1
+pkgdesc="Common library for X-Apps project"
+arch=('x86_64')
+url="https://github.com/linuxmint/${pkgname}"
+license=('GPL')
+depends=('libdbusmenu-gtk3' 'libgnomekbd')
+optdepends=('python: for mate-desktop status applet')
+makedepends=('meson' 'samurai' 'gobject-introspection' 'python-gobject' 'vala')
+provides=('xapps')
+conflicts=('xapps')
+replaces=('xapps')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('2cdb9ba2d24ba7fd8239a5aa825442942398bebc42fe816b5f0bbf3bf22ae448')
+b2sums=('9541aeaa64139bafc67d08d08872e3db3782913b2f744e8e63caf90c77984eb889299f70eb48a8d7a2adb4b12c8af7010592edcb6141c61d85036cc9414a9ab0')
+
+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