summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilk Brewster2019-04-07 01:14:11 +0100
committerMilk Brewster2019-04-07 01:14:11 +0100
commit732db39904266717d43c5feddbe1bcefdb4c53e8 (patch)
tree5df3fb0081f414164fa75c651582324ffc5256cb
downloadaur-tmux-xdg-git.tar.gz
initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD47
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5ac484016b5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = tmux-xdg-git
+ pkgdesc = A terminal multiplexer (XDG config patch)
+ pkgver = 2.8.r292.g78adc263
+ pkgrel = 1
+ url = https://github.com/tmux/tmux/wiki
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = git
+ depends = ncurses
+ depends = libevent
+ optdepends = libutempter: Record user sessions to utmp and wtmp files (add to depends array and rebuild to enable)
+ provides = tmux
+ provides = tmix-git
+ conflicts = tmux
+ conflicts = tmux-git
+ source = git+https://github.com/mxmilkb/tmux.git
+ md5sums = SKIP
+
+pkgname = tmux-xdg-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..edf76415130
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: WorMzy Tykashi <wormzy.tykashi@gmail.com>
+# Contributor: Dmitry Korzhevin <dkorzhevin AT gmail DOT com>
+# Contributor: C.Coutinho <kikijump[at]gmail[dot]com>
+# Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com>
+# Contributor: TDY <tdy@gmx.com>
+
+pkgname=tmux-xdg-git
+_gitname=tmux
+pkgver=2.8.r292.g78adc263
+pkgrel=1
+pkgdesc="A terminal multiplexer (XDG config patch)"
+url="https://github.com/tmux/tmux/wiki"
+arch=('i686' 'x86_64')
+license=('BSD')
+depends=('ncurses' 'libevent')
+makedepends=('git')
+optdepends=('libutempter: Record user sessions to utmp and wtmp files (add to depends array and rebuild to enable)')
+#depends+=('libutempter')
+provides=('tmux' 'tmix-git')
+conflicts=('tmux' 'tmux-git')
+source=('git+https://github.com/mxmilkb/tmux.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd $_gitname
+ git describe --long | sed -e 's:\([^-]*-g\):r\1:' -e 's:-:.:g'
+}
+
+prepare() {
+ cd $_gitname
+ ./autogen.sh
+}
+
+build() {
+ cd $_gitname
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $_gitname
+
+ make DESTDIR="$pkgdir" install
+
+ # install example config file
+ install -Dm755 example_tmux.conf "$pkgdir/usr/share/tmux/example_tmux.conf"
+}