Created
October 13, 2017 07:38
-
-
Save willemw12/83a6729e384f95eff2b186690c4b19c2 to your computer and use it in GitHub Desktop.
xapps-git PKGBUILD
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: Titov Denis <[email protected]> | |
# Contributor: willemw <[email protected]> | |
_pkgname=xapps | |
pkgname=$_pkgname-git | |
pkgver=1.0.3.r19.g473400c | |
pkgrel=1 | |
pkgdesc="Common library for X-Apps project" | |
arch=('i686' 'x86_64') | |
url='https://github.com/linuxmint/xapps' | |
license=('GPL') | |
depends=('libgnomekbd' 'python') | |
makedepends=('git' 'gtk-doc' 'gobject-introspection' 'intltool') # 'gnome-common' | |
provides=($_pkgname) | |
conflicts=($_pkgname) | |
source=($pkgname::git+https://github.com/linuxmint/$_pkgname.git) | |
md5sums=(SKIP) | |
pkgver() { | |
cd $pkgname | |
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | |
} | |
build() { | |
cd $pkgname | |
./autogen.sh --prefix=/usr \ | |
--localstatedir=/var \ | |
--libexecdir=/usr/lib/$_pkgname | |
make | |
} | |
package() { | |
cd $pkgname | |
make DESTDIR="$pkgdir/" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment