summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuan Guo2015-06-17 21:29:17 +0200
committerQuan Guo2015-06-17 21:29:17 +0200
commit76519bb7c8513db72bf88a5c73c516f8f0f20acc (patch)
tree90d9122cd1f947d451d16452b7133ae920b62823
downloadaur-76519bb7c8513db72bf88a5c73c516f8f0f20acc.tar.gz
Initial import
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD43
-rw-r--r--terminator.install11
3 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3e308f411df
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = terminator-bzr
+ pkgdesc = A tool for arranging multiple terminals in a single window
+ pkgver = 1549
+ pkgrel = 1
+ url = http://www.tenshu.net/terminator/
+ install = terminator.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = bzr
+ makedepends = desktop-file-utils
+ makedepends = gettext
+ makedepends = intltool
+ depends = hicolor-icon-theme
+ depends = pygtk
+ depends = python2-keybinder2
+ depends = python2-notify
+ depends = vte
+ depends = xdg-utils
+ optdepends = gnome-python: gnome-terminal profile support
+ provides = terminator
+ conflicts = terminator
+ source = terminator::bzr+http://bazaar.launchpad.net/~gnome-terminator/terminator/trunk/
+ md5sums = SKIP
+
+pkgname = terminator-bzr
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6242bb430e2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: TDY <tdy@gmx.com>
+# Contributor: zhuqin <zhuqin83@gmail.com>
+
+pkgname=terminator-bzr
+pkgver=1549
+pkgrel=1
+pkgdesc="A tool for arranging multiple terminals in a single window"
+arch=('i686' 'x86_64')
+url="http://www.tenshu.net/terminator/"
+license=('GPL')
+depends=('hicolor-icon-theme' 'pygtk' 'python2-keybinder2' 'python2-notify'
+ 'vte' 'xdg-utils')
+makedepends=('bzr' 'desktop-file-utils' 'gettext' 'intltool')
+optdepends=('gnome-python: gnome-terminal profile support')
+provides=('terminator')
+conflicts=('terminator')
+_pkgname=terminator
+source=("${_pkgname}::bzr+http://bazaar.launchpad.net/~gnome-terminator/terminator/trunk/")
+md5sums=('SKIP')
+
+install=terminator.install
+
+_bzrtrunk=http://bazaar.launchpad.net/~gnome-terminator/terminator/trunk
+
+pkgver() {
+ bzr revno "${srcdir}/${_pkgname}"
+}
+
+build() {
+ rm -rf "$srcdir/${_pkgname}-build"
+ cp -r "$srcdir/${_pkgname}" "$srcdir/${_pkgname}-build"
+ cd "$srcdir/${_pkgname}"
+
+ msg "Starting make..."
+ find -type f -name '*.py' -exec sed -i '1s,python,&2,' '{}' \;
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/${_pkgname}-build"
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
+ rm -f "$pkgdir/usr/share/icons/hicolor/icon-theme.cache"
+}
diff --git a/terminator.install b/terminator.install
new file mode 100644
index 00000000000..aa5dac49121
--- /dev/null
+++ b/terminator.install
@@ -0,0 +1,11 @@
+post_install() {
+ which xdg-icon-resource &>/dev/null && xdg-icon-resource forceupdate || true
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}