summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 102f2dea00529bf4686cbec66ef7e314bda4a0b0 (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
# Maintainer: Thomas Gläßle <t_glaessle@gmx.de>
_pkgname=pidgin-tts
pkgname=pidgin-espeak-git
pkgver=2019_11_20..210876f
pkgrel=3
pkgdesc="espeak plugin for the pidgin IM"
arch=('x86_64')
url="https://github.com/coldfix/pidgin-tts"
license=('WTFPL')
depends=('pidgin' 'espeak' 'glib2' 'libpurple')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+https://github.com/coldfix/${_pkgname}")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  git log -1 --format='%cd..%h' --date=short | tr - _
}

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

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

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