mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
25 lines
919 B
Bash
25 lines
919 B
Bash
# $Id: PKGBUILD 27804 2009-02-26 02:19:04Z eric $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
pkgname=libnjb
|
|
pkgver=2.2.6
|
|
pkgrel=1
|
|
pkgdesc="Library for communicating with various portable MP3 players"
|
|
arch=('i686' 'x86_64')
|
|
url="http://libnjb.sourceforge.net/"
|
|
license=('BSD')
|
|
depends=('libusb' 'ncurses' 'zlib')
|
|
makedepends=('pkgconfig' 'doxygen')
|
|
options=('!libtool')
|
|
source=(http://downloads.sourceforge.net/sourceforge/libnjb/${pkgname}-${pkgver}.tar.gz
|
|
45-libnjb.rules)
|
|
md5sums=('e1b3a89f6157c553ea46a78446429a0d' '7fe0e29076d6d1ae0b16e0916f297123')
|
|
|
|
build() {
|
|
cd ${srcdir}/libnjb-${pkgver}
|
|
./configure --prefix=/usr --disable-hotplugging || return 1
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
mkdir -p ${pkgdir}/etc/udev/rules.d
|
|
install -m644 ${startdir}/src/45-libnjb.rules ${pkgdir}/etc/udev/rules.d/
|
|
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|