summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e2cdf53766bdebe4a82ea9f21430e4890a76c7b (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
28
29
30
# Maintainer:  Alad Wenter <alad@mailbox.org>
pkgname=cottage-git
pkgver=0.3.r6.g00de4a6
pkgrel=1
pkgdesc="Use howm commands, operators and set configuration values through a UNIX socket."
url="https://github.com/HarveyHunt/cottage"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=('git')
conflicts=('cottage')
provides=('cottage')
source=("$pkgname::git+https://github.com/HarveyHunt/cottage")
sha256sums=('SKIP')

pkgver() {
    cd "$pkgname"
    git describe --long --tags | sed 's/^v//; s/-/.r/; s/-/./'
}

build() {
    cd "$pkgname"
    make debug
}

package() {
    cd "$pkgname"
    make PREFIX='/usr' DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: