summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4133d2f182a07002684d4c7e54a9c19f9fd6b0f6 (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.1
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=('2a8ab9ad7d43f018fc73ba8babd689dfa44aba8cec53b88e4770185cb97778f7')

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"
}