summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 918975e1cf720a95eccba505df9759f3507a2331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: grimi <grimi at poczta dot fm>

pkgname=pidgin-tlen-git
pkgver=b8c464e
pkgrel=2
pkgdesc="An Tlen.pl protocol plugin for Pidgin"
arch=('i686' 'x86_64')
url="https://github.com/pelotasplus/pidgin-tlen"
license=('BSD')
depends=('libpurple')
conflicts=('pidgin-tlen')
provides=('pidgin-tlen')
source=("$pkgname::git://github.com/pelotasplus/pidgin-tlen.git")
md5sums=('SKIP')


pkgver() {
  cd $pkgname
  git describe --always | sed 's|-|.|g'
}

prepare() {
  cd $pkgname
  sed 's/wheel/root/g' -i Makefile
}

build() {
  cd $pkgname
  make
}

package() {
  cd $pkgname
  make install DESTDIR="$pkgdir" LOCALBASE=/usr
}