diff options
author | Jason Nader | 2020-06-13 10:54:11 +0900 |
---|---|---|
committer | Jason Nader | 2020-06-13 10:54:11 +0900 |
commit | 831bb44424842f58cd7ed03d52589381901be243 (patch) | |
tree | bee5cf5cf01ba23326d37ed1557c0f03b0041b64 | |
download | aur-831bb44424842f58cd7ed03d52589381901be243.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 38 | ||||
-rw-r--r-- | PKGBUILD | 63 |
2 files changed, 101 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c491eeeed0ae --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,38 @@ +pkgbase = i3-next-git + pkgdesc = An improved dynamic tiling window manager + pkgver = 4.18.r322.gcf09cc79 + pkgrel = 1 + url = http://i3wm.org/ + arch = i686 + arch = x86_64 + groups = i3-vcs + license = BSD + makedepends = asciidoc + makedepends = xmlto + depends = xcb-util-cursor + depends = xcb-util-keysyms + depends = xcb-util-wm + depends = xcb-util-xrm + depends = libev + depends = yajl + depends = startup-notification + depends = pango + depends = libxkbcommon-x11 + optdepends = dmenu: As menu. + optdepends = i3lock: For locking your screen. + optdepends = i3status: To display system information with a bar. + optdepends = perl: i3-save-tree and i3-dmenu-desktop + optdepends = perl-anyevent-i3: Features like saving the layout. + optdepends = perl-json-xs: Features like saving the layout. + provides = i3-wm + conflicts = i3-wm + conflicts = i3bar + conflicts = i3bar-git + options = docs + options = !strip + options = debug + source = git://github.com/i3/i3.git#branch=next + sha1sums = SKIP + +pkgname = i3-next-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..51b4914ea8a8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,63 @@ +# Tracks the next branch of the i3 repo + +pkgname=i3-next-git +pkgver=4.18.r322.gcf09cc79 +pkgrel=1 +pkgdesc='An improved dynamic tiling window manager' +arch=('i686' 'x86_64') +url='http://i3wm.org/' +license=('BSD') +provides=('i3-wm') +conflicts=('i3-wm' 'i3bar' 'i3bar-git') +groups=('i3-vcs') +depends=(xcb-util-cursor xcb-util-keysyms xcb-util-wm xcb-util-xrm libev yajl startup-notification + pango libxkbcommon-x11) +makedepends=(asciidoc xmlto) +optdepends=('dmenu: As menu.' + 'i3lock: For locking your screen.' + 'i3status: To display system information with a bar.' + 'perl: i3-save-tree and i3-dmenu-desktop' + 'perl-anyevent-i3: Features like saving the layout.' + 'perl-json-xs: Features like saving the layout.') +options=('docs' '!strip' 'debug') +source=('git://github.com/i3/i3.git#branch=next') +sha1sums=('SKIP') + +_gitname='i3' + +pkgver() { + cd "$srcdir/$_gitname" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + + +prepare() { + cd "$_gitname" + + autoreconf -fvi +} + +build() { + cd "$_gitname" + + rm -rf build + mkdir -p build && cd build + + ../configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-sanitizers + + make +} + +package() { + cd "$_gitname/build" + + make DESTDIR="$pkgdir/" install + + install -Dm644 ../LICENSE \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=2 sw=2 et: |