db-move: moved firefox-i18n from [testing] to [extra] (any)
[arch-packages.git] / libmpd / repos / extra-x86_64 / PKGBUILD
blob9757268f94a15f895456263f3da3272b9c7251ce
1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: tobias <tobias@archlinux.org>
4 pkgname=libmpd
5 pkgver=11.8.17
6 pkgrel=5
7 pkgdesc='Signal based wrapper around libmpdclient'
8 arch=('x86_64')
9 url='https://gmpclient.org/'
10 license=('GPL')
11 depends=('glib2')
12 source=("https://download.sarine.nl/Programs/gmpc/${pkgver%.*}/${pkgname}-${pkgver}.tar.gz"
13         '0001-fix-return-value.patch'
14         '0002-include-config.h.patch'
15         '0003-fix-comparison.patch')
16 sha256sums=('fe20326b0d10641f71c4673fae637bf9222a96e1712f71f170fca2fc34bf7a83'
17             'd8f93df567479bca89df17ebbe5db103ce36da01d5574d24184679659b731b97'
18             '8f87b7cf45bd57d2d7c7c59f66b60b6c49bebff910dcf0716b82d18905c0846b'
19             'f36b2a5bd9e0794a2945b840ac15ad72253874ede4d655282b978598b7a94662')
21 prepare() {
22   cd $pkgname-$pkgver
23   patch -Np1 < "${srcdir}"/0001-fix-return-value.patch
24   patch -Np1 < "${srcdir}"/0002-include-config.h.patch
25   patch -Np1 < "${srcdir}"/0003-fix-comparison.patch
28 build() {
29   cd $pkgname-$pkgver
30   ./configure --prefix=/usr
31   make
34 package() {
35   cd $pkgname-$pkgver
36   make DESTDIR="${pkgdir}" install