2021-03-06 04:21:27 +00:00
|
|
|
# % Trigger: 1615004478 %
|
2015-09-23 15:25:18 +00:00
|
|
|
# Maintainer: Jack Frost <fbt@fleshless.org>
|
2021-01-24 13:22:13 +00:00
|
|
|
# Author: Bastien Dejean <baskerville@lavabit.com>
|
2015-09-23 15:25:18 +00:00
|
|
|
|
|
|
|
_pkgname=xtitle
|
|
|
|
pkgname="$_pkgname"-git
|
2023-10-25 23:48:20 +00:00
|
|
|
pkgver=47
|
2015-09-23 15:25:18 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Outputs X window titles'
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="https://github.com/baskerville/${_pkgname}"
|
|
|
|
license=('custom:Unlicense')
|
2015-09-23 15:27:30 +00:00
|
|
|
depends=( 'libxcb' 'xcb-util' 'xcb-util-wm' )
|
2015-09-23 15:25:18 +00:00
|
|
|
makedepends=('git')
|
|
|
|
provides=("${_pkgname}")
|
|
|
|
conflicts=("${_pkgname}")
|
2023-10-25 23:48:20 +00:00
|
|
|
source=("git+https://github.com/baskerville/${_pkgname}")
|
2015-09-23 15:25:18 +00:00
|
|
|
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"
|
|
|
|
}
|