Skip to content

Instantly share code, notes, and snippets.

@willemw12 willemw12/PKGBUILD
Created Oct 13, 2017

Embed
What would you like to do?
xapps-git PKGBUILD
# Maintainer: Titov Denis <kernelmd@yandex.ru>
# Contributor: willemw <willemw12@gmail.com>
_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
You can’t perform that action at this time.