diff options
author | Sebastian Wilzbach | 2015-11-24 02:17:16 +0200 |
---|---|---|
committer | Sebastian Wilzbach | 2015-11-24 02:17:16 +0200 |
commit | 090fe08234ac328524f523b39baee50d05dfa512 (patch) | |
tree | ff1cfb19b4ff50e8742bc068dabfc19181d66353 /PKGBUILD | |
download | aur-pidgin-recent-contacts-git.tar.gz |
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f620cae199cc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Sebastian Wilzbach <sebi [at] wilzbach [dot] me> + +pkgname=pidgin-recent-contacts-git +_pkgname="Recent-Contacts-Plugin-for-Pidgin" +pkgver=r0.9 +pkgrel=1 +pkgdesc="Recent Contact/Buddy List for Pidgin" +arch=(i686 x86_64) +url="https://github.com/segler-alex/Recent-Contacts-Plugin-for-Pidgin" +license=('unknown') +depends=(pidgin) +source=(git+https://git@github.com/interskh/Recent-Contacts-Plugin-for-Pidgin.git) +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgname" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +build() { + cd "$srcdir/$_pkgname" + + cmake -D CMAKE_INSTALL_PREFIX=/usr . + make +} + +package() { + cd "$srcdir/$_pkgname" + install -Dm 644 librecent_contacts.so "$pkgdir/usr/lib/pidgin/librecent_contacts.so" +} |