summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO38
-rw-r--r--PKGBUILD53
2 files changed, 91 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5bae97ad6d6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,38 @@
+pkgbase = i3-gaps-doubleborder
+ pkgdesc = A fork of i3-gaps allowing double borders.
+ pkgver = 20180710
+ pkgrel = 1
+ url = https://github.com/max-lv/i3
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = bison
+ makedepends = flex
+ makedepends = asciidoc
+ makedepends = xmlto
+ depends = xcb-util-keysyms
+ depends = xcb-util-wm
+ depends = libev
+ depends = yajl
+ depends = startup-notification
+ depends = pango
+ depends = perl
+ depends = xcb-util-cursor
+ depends = xcb-util-xrm
+ depends = libxkbcommon-x11
+ optdepends = rxvt-unicode: The terminal emulator used in the default config.
+ optdepends = dmenu: As menu.
+ optdepends = i3lock: For locking your screen.
+ optdepends = i3status: To display system information with a bar.
+ optdepends = perl-json-xs: For i3-save-tree
+ optdepends = perl-anyevent-i3: For i3-save-tree
+ provides = i3-wm
+ conflicts = i3-wm
+ options = docs
+ options = !strip
+ backup = etc/i3/config
+ source = git+https://github.com/max-lv/i3.git
+ md5sums = SKIP
+
+pkgname = i3-gaps-doubleborder
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..549592bb057
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,53 @@
+pkgname=i3-gaps-doubleborder
+_pkgsourcename=i3
+pkgver=20180710
+pkgrel=1
+pkgdesc='A fork of i3-gaps allowing double borders.'
+arch=('i686' 'x86_64')
+url='https://github.com/max-lv/i3'
+license=('BSD')
+provides=('i3-wm')
+conflicts=('i3-wm')
+depends=('xcb-util-keysyms' 'xcb-util-wm' 'libev' 'yajl'
+ 'startup-notification' 'pango' 'perl' 'xcb-util-cursor' 'xcb-util-xrm'
+ 'libxkbcommon-x11')
+makedepends=('bison' 'flex' 'asciidoc' 'xmlto')
+optdepends=('rxvt-unicode: The terminal emulator used in the default config.'
+ 'dmenu: As menu.'
+ 'i3lock: For locking your screen.'
+ 'i3status: To display system information with a bar.'
+ 'perl-json-xs: For i3-save-tree'
+ 'perl-anyevent-i3: For i3-save-tree')
+backup=(etc/i3/config)
+options=('docs' '!strip')
+source=(git+https://github.com/max-lv/i3.git)
+md5sums=('SKIP')
+
+pkgver() {
+ date +%Y%m%d
+}
+
+prepare(){
+ mkdir build
+ cd "${_pkgsourcename}"
+
+ autoreconf -fvi
+ #mkdir build
+}
+
+build() {
+ cd build
+
+ ../i3/configure \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd build
+
+ make DESTDIR="${pkgdir}/" install
+ install -Dt "$pkgdir/usr/share/man/man1" -m644 man/*.1
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 ../i3/LICENSE
+}