Date: Tuesday, June 2, 2020 @ 15:50:58 Author: eschwartz Revision: 638098
archrelease: copy trunk to community-x86_64 Added: xapps/repos/community-x86_64/PKGBUILD (from rev 638097, xapps/trunk/PKGBUILD) Deleted: xapps/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-06-02 15:50:25 UTC (rev 638097) +++ PKGBUILD 2020-06-02 15:50:58 UTC (rev 638098) @@ -1,45 +0,0 @@ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> -# Contributor: Alex Filgueira <alexfilgueira (at antergos.com)> -# Contributor: Nate Simon <aurpkg (at natesimon.net)> - -pkgname=xapps -pkgver=1.8.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') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('3ff3d220f5eaba16c8976e692d2553525c1181004111e1718a8031115dbd3fde') -b2sums=('1eee9edefdb35831dcece2f8e9bda579792f5fdfe60d8a8c4151e7ebf7fab1b2a4dc9825d0083b7eef164a43b438ad114e147d942aa0f1842c175a4d7071060b') - -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: xapps/repos/community-x86_64/PKGBUILD (from rev 638097, xapps/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-06-02 15:50:58 UTC (rev 638098) @@ -0,0 +1,45 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Contributor: Alex Filgueira <alexfilgueira (at antergos.com)> +# Contributor: Nate Simon <aurpkg (at natesimon.net)> + +pkgname=xapps +pkgver=1.8.6 +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=('577a28bd8b02e6bdd52fcc1257d88ef738cdfc065fc5c8ed23554a002c4b0349') +b2sums=('beb3820dc9b6eaabc9132f8668f175736f04ebea40dd743407ad8476fa0654db466f89a663dc51769c79ab90f02cadfbea43496a5a037ab51a918bd635a5205b') + +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) +}