Date: Sunday, November 24, 2019 @ 03:04:27 Author: eschwartz Revision: 532430
archrelease: copy trunk to community-x86_64 Added: xapps/repos/community-x86_64/PKGBUILD (from rev 532429, xapps/trunk/PKGBUILD) Deleted: xapps/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 89 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 46 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-11-24 03:04:11 UTC (rev 532429) +++ PKGBUILD 2019-11-24 03:04:27 UTC (rev 532430) @@ -1,43 +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.4.9 -pkgrel=3 -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=('c2122c8c0616b07aca0654c86810549545363733ad36ec6f27451345083c80ca') -b2sums=('cee89f34d9430288c4ba8e770db4b7652a90d405bbfd7ddbe488f85cf0a60957b02a1a21b201a9da5d690d999848a89b16ecbbbeab027628aa32018a41aeec19') - -build() { - mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build - cd "${srcdir}"/${pkgname}-${pkgver}/build - - meson --prefix=/usr --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 532429, xapps/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-24 03:04:27 UTC (rev 532430) @@ -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.2 +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=('d282b44116eb3f2e1d92f82bfcce005218d27e2ba068c27b5aae7c60edee3129') +b2sums=('6e03175f50ac2aa1ae0a4e402bce25030f71bc80f93a700cef43f5660206a1989e8e6efdbacf873c46f7de79994b5602dc56cf0c1fc062cf82cbae99aa6cf85a') + +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 +}