Created
April 16, 2018 21:57
-
-
Save oberon-manjaro/63d6a4f028164dab28224f3ffd54435a to your computer and use it in GitHub Desktop.
xapps-git
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
# Maintainer: Bernhard Landauer <oberon@manjaro.org> | |
pkgname=xapps-git | |
_pkgname=xapps | |
pkgver=r91.a8d7c4c | |
pkgrel=1 | |
pkgdesc="Common library for X-Apps project" | |
arch=('i686' 'x86_64') | |
license=('GPL') | |
url="https://github.com/linuxmint/$_pkgname" | |
depends=('libgnomekbd') | |
makedepends=('git' 'gobject-introspection' 'meson' 'pygobject-devel' 'python2' 'vala') | |
provides=($_pkgname) | |
conflicts=(${_pkgname}) | |
source=("${pkgname}::git+$url.git") | |
md5sums=('SKIP') | |
pkgver() { | |
cd "$pkgname" | |
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | |
} | |
build() { | |
mkdir build | |
cd build | |
meson --prefix=/usr --buildtype=release ../$pkgname | |
ninja | |
} | |
package() { | |
cd build | |
DESTDIR="$pkgdir" ninja install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment