summaryrefslogtreecommitdiffstats
path: root/abs/extra/libconcord/PKGBUILD
blob: a4b4e2ea772f9032ab1ca39feab29d31e0cac017 (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
# Maintainer: Sven Klomp <mail@klomp.eu>
# Contributor: Mattheus Happe <mhappe@gmail.com>

pkgname=libconcord
_pkgsrcname=concordance
pkgver=0.23
pkgrel=1
pkgdesc="Concordance's core functionality contained in a shared library" 
url="http://www.phildev.net/harmony/index.shtml" 
license=("GPL3")
arch=(i686 x86_64)
depends=('libusb') 
optdepends=('udev: use libconcord as non-root user')
source=("http://downloads.sourceforge.net/project/${_pkgsrcname}/${_pkgsrcname}/${pkgver}/${_pkgsrcname}-${pkgver}.tar.bz2")
md5sums=('d7400d5b351b195b63adfafae68be3d8')


build() { 
  cd ${srcdir}/${_pkgsrcname}-${pkgver}/libconcord
  ./configure --prefix=/usr 
  make || return 1
  make udev || return 1
}

package() {
  cd ${srcdir}/${_pkgsrcname}-${pkgver}/libconcord
  make prefix=${pkgdir}/usr install || return 1
  make prefix=${pkgdir}/ install_udev || return 1
}