[arch-commits] Commit in xapp/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 10:18:08 UTC 2020
Date: Thursday, November 12, 2020 @ 10:18:07
Author: foutrelis
Revision: 751528
archrelease: copy trunk to community-staging-x86_64
Added:
xapp/repos/community-staging-x86_64/PKGBUILD
(from rev 751527, xapp/trunk/PKGBUILD)
Deleted:
xapp/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 10:18:04 UTC (rev 751527)
+++ PKGBUILD 2020-11-12 10:18:07 UTC (rev 751528)
@@ -1,48 +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=1.8.10
-pkgrel=2
-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=('a0d542de6dc4d6a318bdf1fad88447db270ab2dd0582f0c6f28008cc77337672')
-b2sums=('cda37ade7d8cd3f9ffb5fd1e6ac7ed5841f9ccc8c8735cfc5a7d88a0a3530614b70dd56395b4f36a6c39b980df83c5668b44f45223240ed1009918178ee0e88f')
-
-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-staging-x86_64/PKGBUILD (from rev 751527, xapp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 10:18:07 UTC (rev 751528)
@@ -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.10
+pkgrel=3
+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=('a0d542de6dc4d6a318bdf1fad88447db270ab2dd0582f0c6f28008cc77337672')
+b2sums=('cda37ade7d8cd3f9ffb5fd1e6ac7ed5841f9ccc8c8735cfc5a7d88a0a3530614b70dd56395b4f36a6c39b980df83c5668b44f45223240ed1009918178ee0e88f')
+
+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