summaryrefslogtreecommitdiff
path: root/pcr/ncdc/PKGBUILD
blob: a7643a1274242a723cfe39f40b5f0e3547ffce87 (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
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
# Maintainer: Robert Holt (Arch) <holt.r94 at gmail dot com>
# Contributor: Anton Larionov  (Arch) <diffident dot cat at gmail dot com>
# Contributor: Yorhel (Arch) <projects@yorhel.nl>
# Contributor: archtux (Arch) <antonio.arias99999@gmail.com>

pkgname=ncdc
pkgver=1.19.1
pkgrel=1
pkgdesc="Modern and lightweight direct connect client with a friendly ncurses interface"
arch=('i686' 'x86_64' 'arm')
url="http://dev.yorhel.nl/ncdc"
license=('MIT')
depends=('bzip2' 'gnutls' 'ncurses' 'sqlite' 'glib2' 'geoip')
source=("http://dev.yorhel.nl/download/$pkgname-$pkgver.tar.gz"
"http://dev.yorhel.nl/download/$pkgname-$pkgver.tar.gz.asc")
validpgpkeys=('74460D32B80810EBA9AFA2E962394C698C2739FA') # Yoran Heling's GPG key
sha512sums=('36eda8c582ddb40ef732151ecc1654eae927a6a004430d8d27528b3c57ae5e1b06c23a867d8e1624ee4365031325fd7ced2888dd64ff129431bba9ff4171f189'
'b80c14b97c92f6e3b1f94edb5c794444c3870251511adb5a93a2539f719dc510cccb1e079b546a2e8c60f95a9017e0d3cea0006e5ee0afdaa533c0fe0df1c91e')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --with-geoip
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

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