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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:48:20 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:48:20
  Author: felixonmars
Revision: 400647

archrelease: copy trunk to staging-any

Added:
  alacarte/repos/staging-any/
  alacarte/repos/staging-any/PKGBUILD
    (from rev 400646, alacarte/trunk/PKGBUILD)

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

Copied: alacarte/repos/staging-any/PKGBUILD (from rev 400646, alacarte/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-11-12 17:48:20 UTC (rev 400647)
@@ -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=2
+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