summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6e2aec63d92d9f9eb6ff9da9235803b3065a35f6 (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
34
35
# Maintainer: Yigit Dallilar  <yigit.dallilar@gmail.com>

pkgname=cdsclient
pkgver=3.84
pkgrel=1
pkgdesc="a set of C and csh routines o query some databases located at CDS or on mirrors over the network"
url="http://cds.u-strasbg.fr/resources/doku.php?id=cdsclient#cdsclients"
arch=('x86_64')
license=('GPL')
depends=()
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
source=('http://cdsarc.u-strasbg.fr/ftp/pub/sw/cdsclient.tar.gz')
sha1sums=('f568af0011ed803808b343ba60bad0e0d81330b5')

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

package() {
  mkdir -p ${pkgdir}/usr/bin
  mkdir -p ${pkgdir}/usr/lib
  mkdir -p ${pkgdir}/usr/include
  mkdir -p ${pkgdir}/usr/man
  cd $srcdir/${pkgname}-${pkgver}
  make PREFIX="$pkgdir"/usr install

  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}