Date: Tuesday, December 10, 2019 @ 21:26:21 Author: eschwartz Revision: 536579
archrelease: copy trunk to community-x86_64 Added: xapps/repos/community-x86_64/PKGBUILD (from rev 536578, xapps/trunk/PKGBUILD) Deleted: xapps/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-10 21:26:06 UTC (rev 536578) +++ PKGBUILD 2019-12-10 21:26:21 UTC (rev 536579) @@ -1,46 +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.6.5 -pkgrel=1 -pkgdesc="Common library for X-Apps project" -arch=('x86_64') -url="https://github.com/linuxmint/${pkgname}" -license=('GPL') -depends=('libgnomekbd') -makedepends=('meson' 'samurai' 'gobject-introspection' 'python-gobject' 'python2-gobject' 'vala') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('997afa5d57b665370d45241e6a53af4e241819f51f18b331dd09552b835343b7') -b2sums=('8d44d82177d0b548ee60dc02f87c7e0fb2740601a9af2549b0c9a60f0e8b1b68ef36eee640df31869498131afc28786af6134404bfa4bce19bc181a0a06f3a81') - -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. - for _python in python3 python2; do - 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/${_python}* -name '*.py' -print0) - done -} Copied: xapps/repos/community-x86_64/PKGBUILD (from rev 536578, xapps/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-10 21:26:21 UTC (rev 536579) @@ -0,0 +1,46 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Contributor: Alex Filgueira <alexfilgueira (at antergos.com)> +# Contributor: Nate Simon <aurpkg (at natesimon.net)> + +pkgname=xapps +pkgver=1.6.7 +pkgrel=1 +pkgdesc="Common library for X-Apps project" +arch=('x86_64') +url="https://github.com/linuxmint/${pkgname}" +license=('GPL') +depends=('libgnomekbd') +makedepends=('meson' 'samurai' 'gobject-introspection' 'python-gobject' 'python2-gobject' 'vala') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('1f78a1d7d078d5e9dc6736cb47d03d67d7775061843e1764f5b5d35bc7413145') +b2sums=('cdcaab9ed11070d0db1b1156db14a9c219a6571d735663fd0a39bbd4f7afc9b89d0507fac69f805e211e6c50d069c7ad65e75a4188bbdb2a69481255edcf772e') + +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. + for _python in python3 python2; do + 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/${_python}* -name '*.py' -print0) + done +}