Skip to content

Commit e167aef

Browse files
authored
Create PKGBUILD
1 parent 13cd7d3 commit e167aef

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

PKGBUILD

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
pkgname=kirc-git
2+
pkgver=0.0.6.r0.6a019c7
3+
pkgrel=1
4+
pkgdesc="KISS for IRC, an IRC client written in POSIX C99"
5+
arch=(any)
6+
url="https://github.com/mcpcpc/kirc"
7+
license=('MIT')
8+
makedepends=('git')
9+
provides=("${pkgname%-git}")
10+
conflicts=("${pkgname%-git}")
11+
replaces=()
12+
backup=()
13+
options=()
14+
install=
15+
source=('kirc::git+https://github.com/mcpcpc/kirc.git')
16+
md5sums=('SKIP')
17+
18+
pkgver() {
19+
cd "$srcdir/${pkgname%-git}"
20+
21+
printf "%s" "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
22+
}
23+
24+
build() {
25+
cd "$srcdir/${pkgname%-git}"
26+
make
27+
}
28+
29+
package() {
30+
cd "$srcdir/${pkgname%-git}"
31+
make DESTDIR="$pkgdir" install
32+
}

0 commit comments

Comments
 (0)