summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a41c58489e30bc1559466a0a5de11a531c9f38b3 (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
27
# Maintainer:  Andrew O'Neill <andrew at meanjollies dot com>
# Contributor: Eisfreak7 <eisfreak7@gmail.com>

pkgname=xtitle
pkgver=0.4.4
pkgrel=1
pkgdesc='Outputs X window titles'
arch=('x86_64')
url="https://github.com/baskerville/${pkgname}"
license=('custom:Unlicense')
depends=('libxcb' 'xcb-util-wm' 'xcb-util')
conflicts=("${pkgname}-git")
source=("${url}/archive/${pkgver}.tar.gz")
sha256sums=('c2fbf403892c4e466e43528415284a458d4354855f221273881aa4388d028970')

build() {
  cd "${pkgname}-${pkgver}"

  make PREFIX=/usr
}

package() {
  cd "${pkgname}-${pkgver}"

  make PREFIX=/usr DESTDIR="${pkgdir}" install
  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}