summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 77c6056f55f8da8778c8229afcf9d50e70eaed45 (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: Chris Down <chris@chrisdown.name>

pkgname=xbanish
pkgver=1.7
pkgrel=1
pkgdesc='Hide the mouse cursor when typing'
url='https://github.com/jcs/xbanish'
arch=('i686' 'x86_64')
license=('BSD')
depends=('libxfixes' 'libxi')
makedepends=('libxt')

source=("https://github.com/jcs/xbanish/archive/v${pkgver}.zip")
md5sums=('ecce6af90f26d825da75b22107e2279c')

build() {
    cd "$srcdir/$pkgname-$pkgver"
    make
}

package() {
    cd "$srcdir/$pkgname-$pkgver"
    install -Dm755 xbanish "$pkgdir/usr/bin/xbanish"
    install -Dm644 xbanish.1 "$pkgdir/usr/share/man/man1/xbanish.1"
    install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}