blob: b063c39efc6985029330a7934cbb2641187980a8 (
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
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: Davi da Silva Böger <dsboger at gmail dot com>
pkgname=terminix-git
_pkgname=terminix
pkgver=0.55.0.r0.f094c5e
pkgrel=1
pkgdesc="A tiling terminal emulator based on GTK+ 3 (git master)"
arch=('x86_64')
url="http://github.com/gnunn1/terminix"
license=('MPL')
depends=('gtk3' 'dconf' 'gsettings-desktop-schemas' 'vte3')
optdepends=('python2-nautilus: for "Open Terminix Here" support in nautilus')
makedepends=('git' 'dmd' 'dub')
provides=('terminix')
conflicts=('terminix')
install=$pkgname.install
source=('git+https://github.com/gnunn1/terminix')
md5sums=('SKIP')
_gtkdver="3.3.0"
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
}
build() {
# Either clone or pull GtkD repo
_gtkdrepo="$srcdir/gtk-d"
if [ -d "$_gtkdrepo" ]; then
git --git-dir="$_gtkdrepo/.git" pull
else
git clone https://github.com/gtkd-developers/GtkD.git "$_gtkdrepo"
fi
# Register local GtkD repository in dub
dub add-local "$_gtkdrepo" $_gtkdver
# Build terminix
cd "$_pkgname"
dub build --build=release
# De-register local GtkD repository in dub
dub remove-local "$_gtkdrepo"
}
package() {
cd "$_pkgname"
./install.sh $pkgdir/usr
rm $pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled
}
|