diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-01-10 05:15:58 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-01-10 05:15:58 -0200 |
commit | 1452fc76b03a88cdb5f9df41ec5235a3f488f6af (patch) | |
tree | 1145ca515cbd8abbc2e3eaeff5b3a411899bb042 /libre/psutils-libre | |
parent | a3691789f114a23b5b6a87241280b9d7a3f9daab (diff) | |
download | abslibre-1452fc76b03a88cdb5f9df41ec5235a3f488f6af.tar.gz abslibre-1452fc76b03a88cdb5f9df41ec5235a3f488f6af.tar.bz2 abslibre-1452fc76b03a88cdb5f9df41ec5235a3f488f6af.zip |
psutils-libre: add mksource
Diffstat (limited to 'libre/psutils-libre')
-rw-r--r-- | libre/psutils-libre/PKGBUILD | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/libre/psutils-libre/PKGBUILD b/libre/psutils-libre/PKGBUILD index a9f697ae0..ad75af70a 100644 --- a/libre/psutils-libre/PKGBUILD +++ b/libre/psutils-libre/PKGBUILD @@ -18,20 +18,26 @@ provides=('psutils-lprng' 'psutils') 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' - 'libre.patch') -md5sums=('b161522f3bd1507655326afa7db4a0ad' - '2b49e9e796000b42f42804d4b50a2be1' - 'a4beaf371607085e89ef190c1db7aee3') +mksource=("ftp://ftp.archlinux.org/other/psutils/${_pkgname}-${pkgver}.tar.gz" + 'libre.patch') +source=("https://repo.parabolagnulinux.org/sources/${pkgname}-${pkgver}.tar.gz" + 'psutils-1.17.diff') +mkmd5sums=('b161522f3bd1507655326afa7db4a0ad' + 'a4beaf371607085e89ef190c1db7aee3') +md5sums=('75c88dc9e33877368d471dfa8652d96d' + '2b49e9e796000b42f42804d4b50a2be1') -build() { +mksource() { 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} +} + +build() { + cd "${srcdir}/${_pkgname}" + patch -Np1 -i "${srcdir}/psutils-1.17.diff" make -f Makefile.unix BINDIR=/usr/bin \ INCLUDEDIR=/usr/include/psutils PERL=/usr/bin/perl \ MANDIR=/usr/share/man/man1 \ |