diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
commit | cebf33d7109e0157a80f34d6136e212f0a28d274 (patch) | |
tree | a6464302c970f72581105b50ff0896e1f56def3d /community/preload/PKGBUILD | |
parent | 1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff) | |
parent | 5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/preload/PKGBUILD')
-rw-r--r-- | community/preload/PKGBUILD | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/community/preload/PKGBUILD b/community/preload/PKGBUILD index 106b1f7b3..90b88459f 100644 --- a/community/preload/PKGBUILD +++ b/community/preload/PKGBUILD @@ -1,50 +1,44 @@ -# $Id: PKGBUILD 74711 2012-08-02 09:27:00Z bpiotrowski $ +# $Id: PKGBUILD 90536 2013-05-13 00:33:46Z eric $ # Maintainer: # Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> # Contributor: William Rea <sillywilly@gmail.com> pkgname=preload pkgver=0.6.4 -pkgrel=5 +pkgrel=6 arch=('i686' 'x86_64' 'mips64el') pkgdesc="Makes applications run faster by prefetching binaries and shared objects" url="http://sourceforge.net/projects/preload" license=('GPL2') depends=('glib2' 'bash') -makedepends=('help2man' 'pkgconfig') +makedepends=('help2man') backup=('etc/preload.conf') options=('!makeflags') install=$pkgname.install source=("http://downloads.sourceforge.net/sourceforge/preload/$pkgname-$pkgver.tar.gz" - rc.d service) + service) md5sums=('10786287b55afd3a2b433b4f898809f4' - 'bde0dd7867c77e7c4d10b481b5cddcd3' - 'db9350ab52fd643edbc88ebab2c8c1bb') + 'b4871a6ade86968322b3bdf3fce88e99') build() { - cd "${srcdir}"/$pkgname-$pkgver + cd $pkgname-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ + --sbindir=/usr/bin \ --localstatedir=/var make } package() { - cd "${srcdir}"/$pkgname-$pkgver - make DESTDIR="${pkgdir}" install + cd $pkgname-$pkgver + make DESTDIR="${pkgdir}" sysconfigdir=/etc/conf.d install - install -Dm755 "${srcdir}"/rc.d "${pkgdir}"/etc/rc.d/preload install -Dm644 "${srcdir}"/service "${pkgdir}"/usr/lib/systemd/system/preload.service - rm -rf "${pkgdir}"/etc/rc.d/init.d - + rm -rf "${pkgdir}"/etc/rc.d rm -rf "${pkgdir}"/var/lib/preload/preload.state rm -rf "${pkgdir}"/var/log/preload.log - install -d "${pkgdir}"/etc/conf.d - mv "${pkgdir}"/etc/sysconfig/* "${pkgdir}"/etc/conf.d - rm -rf "${pkgdir}"/etc/sysconfig - sed -r -i 's#^((map|exe)prefix =) (.+)$#\1 /opt;\3#' "${pkgdir}"/etc/preload.conf } |