summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 254c2fe1462fe254e4ea07a45fbcdec2363a100d (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
# Maintainer:  Andrew O'Neill <andrew at haunted dot sh>
# Contributor: whoami <whoami@systemli.org>
# Contributor: Robert Holt <holt.r94 at gmail dot com>
# Contributor: Anton Larionov <diffident dot cat at gmail dot com>
# Contributor: Yorhel <projects@yorhel.nl>
# Contributor: archtux <antonio.arias99999@gmail.com>

pkgname=ncdc
pkgver=1.24
pkgrel=1
pkgdesc='A lightweight direct connect client with a friendly ncurses interface'
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://dev.yorhel.nl/${pkgname}"
license=('MIT')
depends=('gnutls' 'sqlite' 'glib2' 'libmaxminddb')
source=("${url%/${pkgname}}/download/${pkgname}-${pkgver}.tar.gz")
sha256sums=('233510d5355fc72fdad3578ebc8ab35d1da95b21d2774990f3a1356b7112da1e')

build() {
  cd "${pkgname}-${pkgver}"

  ./configure --prefix=/usr --with-geoip
  make
}

package() {
  cd "${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}