init
This commit is contained in:
commit
c18a8f10a8
35
PKGBUILD
Normal file
35
PKGBUILD
Normal file
|
@ -0,0 +1,35 @@
|
|||
# vim: ft=PKGBUILD
|
||||
# % Trigger %
|
||||
# Maintainer: Jack Frost <fbt@fleshless.org>
|
||||
# Maintainer: Bastien Dejean <baskerville@lavabit.com>
|
||||
|
||||
_pkgname=xtitle
|
||||
pkgname="$_pkgname"-git
|
||||
pkgver=22
|
||||
pkgrel=1
|
||||
pkgdesc='Outputs X window titles'
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/baskerville/${_pkgname}"
|
||||
license=('custom:Unlicense')
|
||||
depends=('libxcb' 'xcb-util-wm')
|
||||
makedepends=('git')
|
||||
provides=("${_pkgname}")
|
||||
conflicts=("${_pkgname}")
|
||||
source=("git://github.com/baskerville/${_pkgname}.git")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
git rev-list --count HEAD
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
make PREFIX=/usr
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
make PREFIX=/usr DESTDIR="$pkgdir" install
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
Loading…
Reference in New Issue
Block a user