[arch-commits] Commit in xapp/repos/community-x86_64 (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Sun Aug 30 20:49:29 UTC 2020
Date: Sunday, August 30, 2020 @ 20:49:29
Author: eschwartz
Revision: 693133
archrelease: copy trunk to community-x86_64
Added:
xapp/repos/community-x86_64/PKGBUILD
(from rev 693132, xapp/trunk/PKGBUILD)
Deleted:
xapp/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 93 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 48 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-30 20:49:08 UTC (rev 693132)
+++ PKGBUILD 2020-08-30 20:49:29 UTC (rev 693133)
@@ -1,45 +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.8.8
-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')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('8de282331658971ce154676273a402c9d0149df4ee167625d21282f126d773a6')
-b2sums=('f71a3d9ab5e482488fc5595d00302b1c5f61c077e494964d27996845ed49080c19c03a21525a612bdbc5a50dc2ed6a0266a8668caf4734df9978accb8f35048c')
-
-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 693132, xapp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-30 20:49:29 UTC (rev 693133)
@@ -0,0 +1,48 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Alex Filgueira <alexfilgueira (at antergos.com)>
+# Contributor: Nate Simon <aurpkg (at natesimon.net)>
+
+pkgname=xapp
+pkgver=1.8.9
+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=('6200c026589f655d936574ec3dc648936e737234413e9e0ee1e783575e7e1a8f')
+b2sums=('37b2d2677cb6483533d79853a83d77b30033313c06db89e93491076bb017122f77cd97b30d5ba64ce53fb41a37736791e97da785f516953b76b1d979d341e2fc')
+
+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