Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
archrelease: copy trunk to staging-any
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-packages/svn@473162 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
felixonmars committed Apr 7, 2023
1 parent 3dfb0df commit 224f5b6
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions alacarte/repos/staging-any/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
# Contributor: Jan de Groot <[email protected]>
# Contributor: pressh <[email protected]>

pkgname=alacarte
pkgver=3.44.2
pkgrel=2
epoch=1
pkgdesc="Menu editor for gnome"
url="https://gitlab.gnome.org/GNOME/alacarte"
arch=(any)
license=(LGPL)
depends=(gnome-menus python-gobject python-cairo gtk3)
makedepends=(libxslt docbook-xsl git)
_commit=d17e9b08324a9958f734c0756e6d185c16135f55 # tags/3.44.2^0
source=("git+https://gitlab.gnome.org/GNOME/alacarte.git#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
cd alacarte
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}

prepare() {
cd alacarte
NOCONFIGURE=1 ./autogen.sh
}

build() {
cd alacarte
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}

package() {
cd alacarte
make DESTDIR="$pkgdir" install

python -m compileall -d /usr "$pkgdir/usr"
python -O -m compileall -d /usr "$pkgdir/usr"
}

0 comments on commit 224f5b6

Please sign in to comment.