summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5099c69a89950bf8d7f86f9b65d111988ffcda94 (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
37
# Maintainer: GI Jack <GI_Jack@hackermail.com>

pkgname=purple-teams-git
_pkgname=purple-teams
pkgver=r160.d519b2f
pkgrel=1
pkgdesc="MS Teams Plugin for Pidgin"
arch=('x86_64' 'i686' 'pentium4')
url="https://github.com/eionrobb/purple-teams"
license=('GPLv3')
depends=('libpurple')
makedepends=('git')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}::git+https://github.com/EionRobb/purple-teams.git")
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/${_pkgname}"
  # Git, no tags available
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
  cd "$srcdir/${_pkgname}"
  make clean
}

build() {
  cd "$srcdir/${_pkgname}"
  make
}

package() {
  cd "$srcdir/${_pkgname}"
  make DESTDIR="$pkgdir/" install
}