summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 80da02d2ecf65f7358f424508144c305bd8b182f (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
39
40
# Maintainer: Jeffrey Zhang zhang.lei.fly@gmail.com
pkgname=terminator-git
pkgver=2.1.1.136.gca335e45
pkgrel=1
pkgdesc='multiple GNOME terminals in one window'
arch=('any')
url='https://github.com/gnome-terminator/terminator.git'
license=('GPL2')
depends=('gsettings-desktop-schemas'
         'libkeybinder3'
         'libnotify'
         'python-cairo'
         'python-configobj'
         'python-dbus'
         'python-gobject'
         'python-psutil'
         'vte3'
         'xdg-utils')
makedepends=('git' 'intltool' 'python-setuptools' 'python-pip')
conflicts=('terminator' 'terminator-gtk3-bzr')
source=("git+https://github.com/gnome-terminator/terminator.git")
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/terminator"
  printf "%s" "$(git describe --tags|sed -e 's/^v//g' -e 's/-/./g')"
}

build() {
    cd "${srcdir}/terminator"
    python3 setup.py build
}

package() {
    cd "${srcdir}/terminator"

    python3 setup.py install --skip-build --root="${pkgdir}"

    rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache"
}