This repository has been archived by the owner on May 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
archrelease: copy trunk to staging-any
git-svn-id: file:///srv/repos/svn-packages/svn@473162 eb2447ed-0c53-47e4-bac8-5bc4a241df78
- Loading branch information
1 parent
3dfb0df
commit 224f5b6
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |