1 # $Id: PKGBUILD 24969 2010-08-29 20:08:31Z jlichtblau $
2 # Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
3 # Contributor: arjan <arjan@archlinux.org>
4 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
9 pkgdesc="A shared, preloaded library that implements a trash can under Linux"
10 arch=('i686' 'x86_64')
11 url="http://pages.stern.nyu.edu/~marriaga/software/libtrash/"
14 makedepends=('patch' 'python')
15 install=$pkgname.install
16 source=(http://pages.stern.nyu.edu/~marriaga/software/libtrash/$pkgname-latest.tgz libtrash.patch libtrash.sh)
17 md5sums=('147f645738088c83738259376737bc42'
18 '662e030819f2954b59e7646c77855f6c'
19 'de716ae481adc8e88ddd32ea72808230')
22 cd ${srcdir}/$pkgname-$pkgver
24 patch -Np1 -i $startdir/src/libtrash.patch
26 install -d ${pkgdir}/usr/lib ${pkgdir}/etc/profile.d
27 make INSTLIBDIR=${pkgdir}/usr/lib SYSCONFFILE=${pkgdir}/etc
31 cd ${srcdir}/$pkgname-$pkgver
33 make INSTLIBDIR=${pkgdir}/usr/lib SYSCONFFILE=${pkgdir}/etc install
34 install -D -m 644 ${srcdir}/libtrash.sh ${pkgdir}/etc/profile.d/libtrash.sh