summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 82066dbdc1e9272c44032bf0e955e68b5572c225 (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
31
32
33
34
35
36
37

# Maintainer: Solomon Choina <shlomochoina@gmail.com>

pkgname=swirc-git
_pkgname=swirc
pkgver=v2.1.r4.02b6457
pkgrel=1
pkgdesc="IRC client written with the Ncurses UI framework"
arch=('x86_64')
url="https://www.nifty-networks.net/swirc/"
license=('GPL')
depends=('curl' 'ncurses' 'openssl')
makedepends=('git' "pkg-config")
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=('git+https://github.com/uhlin/swirc.git')
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/${_pkgname}"
	printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"

}

build() {
	cd "$srcdir/${_pkgname}"
	
	./configure
	make
}

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

}