Skip to content

Instantly share code, notes, and snippets.

@willemw12
Created October 13, 2017 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willemw12/83a6729e384f95eff2b186690c4b19c2 to your computer and use it in GitHub Desktop.
Save willemw12/83a6729e384f95eff2b186690c4b19c2 to your computer and use it in GitHub Desktop.
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