summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e850b7e539e21700f757a70c16e3699d0a6801fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Anders Damsgaard <anders@adamsgaard.dk>

pkgname='sacc'
pkgver=1.07
pkgrel=1
pkgdesc='sacc(omys), simple console gopher client with TLS support'
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url='gopher://bitreich.org/1/scm/sacc'
_url_source='ftp://bitreich.org/releases/sacc'
license=('ISC')
depends=('libretls' 'ncurses')
optdepends=('xclip')
source=("${_url_source}/${pkgname}-${pkgver}.tar.lz")
sha512sums=('4ac2daa6d1d85bac420f75d0cb188b0b9aa6cd6799390b1924b14eec911bef20a2e8a296ca3ff905389ac80bf8e2ba7e080bf88e8c5ae06def4c53f8b912f6cc')

build() {
  make -C "${pkgname}-${pkgver}"
}

package() {
  make DESTDIR="${pkgdir}" PREFIX='/usr' MANPREFIX='/usr/share/man' -C "${pkgname}-${pkgver}" install
  install -Dvm644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}