Date: Tuesday, November 20, 2018 @ 01:51:03 Author: eschwartz Revision: 408981
archrelease: copy trunk to community-x86_64 Added: xapps/repos/community-x86_64/PKGBUILD (from rev 408980, xapps/trunk/PKGBUILD) Deleted: xapps/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-11-20 01:50:31 UTC (rev 408980) +++ PKGBUILD 2018-11-20 01:51:03 UTC (rev 408981) @@ -1,42 +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.1 -pkgrel=1 -pkgdesc="Common library for X-Apps project" -arch=('x86_64') -url="https://github.com/linuxmint/${pkgname}" -license=('GPL') -depends=('libgnomekbd') -makedepends=('meson' 'gobject-introspection' 'python-gobject' 'python2-gobject' 'vala') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('5337a9059fb59327c1684a2b57a26c0042c6fb1e9291647b83bc4d8658f0411d') - -build() { - mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build - cd "${srcdir}"/${pkgname}-${pkgver}/build - - meson --prefix=/usr --buildtype=plain .. - ninja -} - -package(){ - cd "${srcdir}"/${pkgname}-${pkgver}/build - - DESTDIR="${pkgdir}" ninja 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 408980, xapps/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-11-20 01:51:03 UTC (rev 408981) @@ -0,0 +1,42 @@ +# 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.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' 'gobject-introspection' 'python-gobject' 'python2-gobject' 'vala') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('6980760ecafa20777a36ae8eecc7b08b228f810dfa76244128d4c5e3c2fc34cc') + +build() { + mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build + cd "${srcdir}"/${pkgname}-${pkgver}/build + + meson --prefix=/usr --buildtype=plain .. + ninja +} + +package(){ + cd "${srcdir}"/${pkgname}-${pkgver}/build + + DESTDIR="${pkgdir}" ninja 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 +}