blob: 64d99b68e289304f79471044641aaab8511a4332 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: KeyboardFire <andy@keyboardfire.com>
pkgname=ppi3-git
pkgver=r3.c669816
pkgrel=1
pkgdesc='preprocessor for the i3 window manager'
arch=('any')
url='https://github.com/KeyboardFire/ppi3'
license=('GPL')
depends=('ruby')
makedepends=('git')
provides=('ppi3')
conflicts=('ppi3')
source=('ppi3::git+git://github.com/KeyboardFire/ppi3#branch=master')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${pkgname%-git}"
install -D ppi3.rb $pkgdir/usr/bin/ppi3
install -Dm644 ppi3.1 $pkgdir/usr/share/man/man1/ppi3.1
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|