summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 40adb5b3c30677b194cf859376534dd22fa6dbc7 (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
# Maintainer:  <zhaose@Planet>
pkgname=purple-oicq-git
provides=('purple-oicq')
conflicts=('purple-oicq')
pkgver=v1.0.1.r0.g810034c
pkgrel=1
pkgdesc="oicq plugin for pidgin"
arch=('i686' 'x86_64')
url="https://github.com/axon-oicq/purple-oicq"
license=('NONE')
depends=('libpurple' 'json-c')
makedepends=('git')
source=("$pkgname::git+https://github.com/axon-oicq/purple-oicq.git")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/$pkgname"

  make
}

package() {
  cd "$srcdir/$pkgname"

  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: