[arch-commits] Commit in alacarte/repos/extra-any (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Mar 8 07:34:47 UTC 2020


    Date: Sunday, March 8, 2020 @ 07:34:47
  Author: heftig
Revision: 377084

archrelease: copy trunk to extra-any

Added:
  alacarte/repos/extra-any/PKGBUILD
    (from rev 377083, alacarte/trunk/PKGBUILD)
Deleted:
  alacarte/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   71 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 39 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-08 07:34:35 UTC (rev 377083)
+++ PKGBUILD	2020-03-08 07:34:47 UTC (rev 377084)
@@ -1,32 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: pressh <pressh at gmail.com>
-
-pkgname=alacarte
-pkgver=3.11.91+12+g1bb265f
-pkgrel=3
-pkgdesc="Menu editor for gnome"
-arch=(any)
-license=('LGPL')
-url="http://www.gnome.org"
-depends=('gnome-menus' 'hicolor-icon-theme' 'python2-gobject' 'gtk3')
-makedepends=('intltool' 'libxslt' 'docbook-xsl' 'git' 'gnome-common')
-source=('git+https://gitlab.gnome.org/GNOME/alacarte.git#commit=1bb265f7')
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --long | sed 's/-/+/g'
-}
-
-build() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var PYTHON=/usr/bin/python2
-  make
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-  python2 -m compileall "$pkgdir"/usr/lib/python2.7/site-packages/Alacarte/
-}

Copied: alacarte/repos/extra-any/PKGBUILD (from rev 377083, alacarte/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-08 07:34:47 UTC (rev 377084)
@@ -0,0 +1,39 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: pressh <pressh at gmail.com>
+
+pkgname=alacarte
+pkgver=3.36.0+0+g7b5fc64
+pkgrel=1
+pkgdesc="Menu editor for gnome"
+url="https://gitlab.gnome.org/GNOME/alacarte"
+arch=(any)
+license=(LGPL)
+depends=(gnome-menus python-gobject gtk3)
+makedepends=(intltool libxslt docbook-xsl git gnome-common python2)
+_commit=7b5fc64998833c2098ea36717da745d8d6152897  # tags/3.36.0^0
+source=("git+https://gitlab.gnome.org/GNOME/alacarte.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --long | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+
+  python -m compileall -d /usr "$pkgdir/usr"
+  python -O -m compileall -d /usr "$pkgdir/usr"
+}



More information about the arch-commits mailing list