Date: Sunday, January 3, 2021 @ 03:07:14 Author: eschwartz Revision: 805074
archrelease: copy trunk to community-x86_64 Added: xapp/repos/community-x86_64/PKGBUILD (from rev 805073, xapp/trunk/PKGBUILD) Deleted: xapp/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-01-03 03:06:59 UTC (rev 805073) +++ PKGBUILD 2021-01-03 03:07:14 UTC (rev 805074) @@ -1,49 +0,0 @@ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> -# Contributor: Alex Filgueira <alexfilgueira (at antergos.com)> -# Contributor: Nate Simon <aurpkg (at natesimon.net)> - -pkgname=xapp -pkgver=2.0.3 -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=('7583fa65ee1cb2ed78be59cf313726c28a47c88c79c1cc3db0fcb83355621cdd') -b2sums=('44ba3e599f821f6cfb9d8c9e7f77f34200fcabbb7323c45792ad9968cc9ac7e34526ebaab5f7278115ecc4d4cb284fa0dec572ab418b72f2e74bc25f5237560b') - -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 805073, xapp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-03 03:07:14 UTC (rev 805074) @@ -0,0 +1,49 @@ +# Maintainer: Eli Schwartz <eschwa...@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) +}