[arch-commits] Commit in xapps/repos (2 files)

2019-10-26 Thread Evangelos Foutras via arch-commits
Date: Saturday, October 26, 2019 @ 06:37:27
  Author: foutrelis
Revision: 520279

archrelease: copy trunk to community-staging-x86_64

Added:
  xapps/repos/community-staging-x86_64/
  xapps/repos/community-staging-x86_64/PKGBUILD
(from rev 520278, xapps/trunk/PKGBUILD)

--+
 PKGBUILD |   43 +++
 1 file changed, 43 insertions(+)

Copied: xapps/repos/community-staging-x86_64/PKGBUILD (from rev 520278, 
xapps/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-10-26 06:37:27 UTC (rev 520279)
@@ -0,0 +1,43 @@
+# Maintainer: Eli Schwartz 
+# Contributor: Alex Filgueira 
+# Contributor: Nate Simon 
+
+pkgname=xapps
+pkgver=1.4.9
+pkgrel=2
+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
+}


[arch-commits] Commit in xapps/repos (2 files)

2018-07-20 Thread Eli Schwartz via arch-commits
Date: Friday, July 20, 2018 @ 15:51:48
  Author: eschwartz
Revision: 362620

archrelease: copy trunk to community-staging-x86_64

Added:
  xapps/repos/community-staging-x86_64/
  xapps/repos/community-staging-x86_64/PKGBUILD
(from rev 362619, xapps/trunk/PKGBUILD)

--+
 PKGBUILD |   43 +++
 1 file changed, 43 insertions(+)

Copied: xapps/repos/community-staging-x86_64/PKGBUILD (from rev 362619, 
xapps/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-20 15:51:48 UTC (rev 362620)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Eli Schwartz 
+# Contributor: Alex Filgueira 
+# Contributor: Nate Simon 
+
+pkgname=xapps
+pkgver=1.2.2
+pkgrel=2
+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=('9ce6a5b19637df18d4521dfdc8ed6bc9fdadcb87bda2c324f3471407a7b551d6')
+
+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
+}


[arch-commits] Commit in xapps/repos (2 files)

2016-11-08 Thread Alexandre Filgueira
Date: Tuesday, November 8, 2016 @ 17:25:02
  Author: faidoc
Revision: 195152

archrelease: copy trunk to community-i686, community-x86_64

Added:
  xapps/repos/community-i686/PKGBUILD
(from rev 195151, xapps/trunk/PKGBUILD)
  xapps/repos/community-x86_64/PKGBUILD
(from rev 195151, xapps/trunk/PKGBUILD)

---+
 community-i686/PKGBUILD   |   32 
 community-x86_64/PKGBUILD |   32 
 2 files changed, 64 insertions(+)

Copied: xapps/repos/community-i686/PKGBUILD (from rev 195151, 
xapps/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-11-08 17:25:02 UTC (rev 195152)
@@ -0,0 +1,32 @@
+# Maintainer: Alex Filgueira 
+# Contributor: Nate Simon 
+
+pkgname=xapps
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Common library for X-Apps project"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('libgnomekbd' 'python3')
+makedepends=('gnome-common' 'gobject-introspection')
+provides=($_pkgname)
+conflicts=('xapps-git')
+url='https://github.com/linuxmint/xapps'
+
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/${pkgname}/archive/${pkgver}.tar.gz;)
+md5sums=('7d6aed5ca7c015ca0ad5c50e24633bd5')
+
+build() {
+cd ${srcdir}/${pkgname}-${pkgver}
+
+./autogen.sh --prefix="/usr" \
+--localstatedir="/var" \
+--libexecdir="/usr/lib/${pkgname}"
+make
+}
+
+package(){
+cd ${srcdir}/${pkgname}-${pkgver}
+make DESTDIR="$pkgdir/" install
+}
+

Copied: xapps/repos/community-x86_64/PKGBUILD (from rev 195151, 
xapps/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2016-11-08 17:25:02 UTC (rev 195152)
@@ -0,0 +1,32 @@
+# Maintainer: Alex Filgueira 
+# Contributor: Nate Simon 
+
+pkgname=xapps
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Common library for X-Apps project"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('libgnomekbd' 'python3')
+makedepends=('gnome-common' 'gobject-introspection')
+provides=($_pkgname)
+conflicts=('xapps-git')
+url='https://github.com/linuxmint/xapps'
+
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/${pkgname}/archive/${pkgver}.tar.gz;)
+md5sums=('7d6aed5ca7c015ca0ad5c50e24633bd5')
+
+build() {
+cd ${srcdir}/${pkgname}-${pkgver}
+
+./autogen.sh --prefix="/usr" \
+--localstatedir="/var" \
+--libexecdir="/usr/lib/${pkgname}"
+make
+}
+
+package(){
+cd ${srcdir}/${pkgname}-${pkgver}
+make DESTDIR="$pkgdir/" install
+}
+