summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 423b89cd67e59ff053dfc6120bb18c2a5d9a5ca6 (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
38
# Maintainer: Manuel Mendez <mmendez534@gmail.com>
# github.com/mmlb/pangoterm-bzr

pkgname=pangoterm-bzr
pkgver=r594
pkgrel=2
pkgdesc='A GTK/Pango-based terminal that uses libvterm to provide terminal emulation.'
arch=('i686' 'x86_64')
url='http://www.leonerd.org.uk/code/pangoterm'
license=('MIT')
depends=('libvterm-bzr' 'gtk2')
makedepends=('bzr' 'libvterm-bzr' 'gtk2')
provides=("${pkgname%-bzr}")
conflicts=("${pkgname%-bzr}")
install=pangoterm.install
source=('bzr+http://bazaar.leonerd.org.uk/code/pangoterm/'
    'pangoterm.install')
sha256sums=('SKIP'
    'd51e7b8fbf5ecd9766bb4ea997971be240342bd1eb50fa1505da2ffdeedd6645')

pkgver() {
    cd "$srcdir/${pkgname%-bzr}"
    printf "r%s" "$(bzr revno)"
}

build() {
    cd "$srcdir/${pkgname%-bzr}"
    make PREFIX=/usr
}

package() {
    cd "$srcdir/${pkgname%-bzr}"
    make PREFIX=/usr DESTDIR="${pkgdir}" install
    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-bzr}/LICENSE"
    install -Dm644 pangoterm.cfg "${pkgdir}/usr/share/${pkgname%-bzr}/pangoterm.cfg"
}

# vim:set sw=4 sts=4 et: