summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 58d1bce2b7667e95cfc3935335296fe4022c26e9 (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
# Maintainer: nano thirteen <nano13@gmx.net>

_pkgname=('presage')
pkgname=('presage-git')
pkgver=926
pkgrel=1
pkgdesc='Presage is an intelligent predictive text entry platform.'
arch=('any')
licence=('GPL')
url='http://presage.sourceforge.net'
makedepends=('git' 'automake' 'make' 'gcc')
depends=('sqlite')
source=('git+https://git.code.sf.net/p/presage/presage')
sha256sums=('SKIP')

pkgver() {
    cd "${srcdir}/${_pkgname}"
    git rev-list --count HEAD
}

package() {
    cd "$srcdir"/"$_pkgname"
    
    autoreconf -fvi
    autoconf
    
    ./configure
    make
    make DESTDIR="$pkgdir" install
}