2 # Contributor: Hugo Doria <hugo@archlinux.org>
3 # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
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/"
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')
19 cd ${pkgname}-${pkgver}
20 patch -Np1 -i ../switch-default-server-to-gnudb.org.patch
24 cd ${pkgname}-${pkgver}
25 ./configure --prefix=/usr
30 cd ${pkgname}-${pkgver}
31 make DESTDIR="${pkgdir}" install