archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libcddb / trunk / PKGBUILD
blob4a08974ed216b27292b5a5e07f5b9143310cb3ef
1 # Maintainer:
2 # Contributor: Hugo Doria <hugo@archlinux.org>
3 # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
5 pkgname=libcddb
6 pkgver=1.3.2
7 pkgrel=7
8 arch=('x86_64')
9 pkgdesc="Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (https://gnudb.org)"
10 url="https://sourceforge.net/projects/libcddb/"
11 license=('LGPL')
12 depends=('glibc')
13 source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
14         switch-default-server-to-gnudb.org.patch)
15 sha256sums=('35ce0ee1741ea38def304ddfe84a958901413aa829698357f0bee5bb8f0a223b'
16             '3ee8610efa71322adb9095405da11b56386ac2c5825f976a84410c6270e59149')
18 prepare() {
19   cd ${pkgname}-${pkgver}
20   patch -Np1 -i ../switch-default-server-to-gnudb.org.patch
23 build() {
24   cd ${pkgname}-${pkgver}
25   ./configure --prefix=/usr
26   make
29 package() {
30   cd ${pkgname}-${pkgver}
31   make DESTDIR="${pkgdir}" install