diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 46 |
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..64a0462fd15b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Mon May 2 17:53:15 UTC 2016 +pkgbase = right-window-git + pkgdesc = Utility to move the focus between windows following cardinal directions + pkgver = r11.5416887 + pkgrel = 1 + url = https://github.com/ntrrgc/right-window + arch = i686 + arch = x86_64 + license = MIT + makedepends = git + makedepends = cmake + conflicts = right-window + source = right-window-git::git+https://github.com/ntrrgc/right-window + md5sums = SKIP + +pkgname = right-window-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0d3bc815c395 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: aksr <aksr at t-com dot me> +pkgname=right-window-git +pkgver=r11.5416887 +pkgrel=1 +epoch= +pkgdesc="Utility to move the focus between windows following cardinal directions" +arch=('i686' 'x86_64') +url="https://github.com/ntrrgc/right-window" +license=('MIT') +groups=() +depends=('') +makedepends=('git' 'cmake') +optdepends=() +checkdepends=() +provides=() +conflicts=('right-window') +replaces=() +backup=() +options=() +changelog= +install= +source=("$pkgname::git+https://github.com/ntrrgc/right-window") +noextract=() +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/$pkgname" + mkdir build + cd build + cmake ../ -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$srcdir/$pkgname/build" + make DESTDIR="$pkgdir/" install + cd .. + install -Dm644 README.md $pkgdir/usr/share/doc/${pkgname%-*}/README.md + install -Dm644 LICENSE.md $pkgdir/usr/share/licenses/${pkgname%-*}/LICENSE +} + |