summaryrefslogtreecommitdiff
path: root/libre/psutils-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-21 06:01:48 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-21 06:01:48 -0300
commitfe415743abf52a581f92a092f03f8566f0b09c3b (patch)
tree43cdb16011c9e7da06d3d3d902b48508a3ae4ae8 /libre/psutils-libre/PKGBUILD
parentad8ee0a3286648535e7987cfaa38ecb274a7542f (diff)
downloadabslibre-fe415743abf52a581f92a092f03f8566f0b09c3b.tar.gz
abslibre-fe415743abf52a581f92a092f03f8566f0b09c3b.tar.bz2
abslibre-fe415743abf52a581f92a092f03f8566f0b09c3b.zip
psutils-libre: add libre pacth to remove nonfree files support from Makefile
Diffstat (limited to 'libre/psutils-libre/PKGBUILD')
-rw-r--r--libre/psutils-libre/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/libre/psutils-libre/PKGBUILD b/libre/psutils-libre/PKGBUILD
index d6fcff26e..4a55ea38e 100644
--- a/libre/psutils-libre/PKGBUILD
+++ b/libre/psutils-libre/PKGBUILD
@@ -19,13 +19,17 @@ replaces=('psutils-lprng' 'psutils')
conflicts=('psutils-lprng' 'psutils')
options=('!makeflags')
source=("ftp://ftp.archlinux.org/other/psutils/${_pkgname}-${pkgver}.tar.gz"
- 'psutils-1.17.diff')
+ 'psutils-1.17.diff'
+ 'libre.patch')
md5sums=('b161522f3bd1507655326afa7db4a0ad'
- '2b49e9e796000b42f42804d4b50a2be1')
+ '2b49e9e796000b42f42804d4b50a2be1'
+ 'a4beaf371607085e89ef190c1db7aee3')
build() {
cd "${srcdir}/${_pkgname}"
patch -Np1 -i "${srcdir}/psutils-1.17.diff"
+ # apply patch to remove nonfree files support from Makefile
+ patch -Np1 -i "${srcdir}/libre.patch"
# remove nonfree files
rm -v {fixmacps.{man,pl},md{68_0,71_0}.ps}
make -f Makefile.unix BINDIR=/usr/bin \