1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: tobias <tobias@archlinux.org>
7 pkgdesc='Signal based wrapper around libmpdclient'
9 url='https://gmpclient.org/'
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')
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
30 ./configure --prefix=/usr
36 make DESTDIR="${pkgdir}" install