mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
|
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
|
||
|
# Contributor: arjan <arjan@archlinux.org>
|
||
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||
|
|
||
|
pkgname=libtrash
|
||
|
pkgver=3.2
|
||
|
pkgrel=1
|
||
|
pkgdesc="A shared, preloaded library that implements a trash can under Linux"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://pages.stern.nyu.edu/~marriaga/software/libtrash/"
|
||
|
license=('GPL')
|
||
|
depends=('glibc')
|
||
|
makedepends=('python')
|
||
|
install=$pkgname.install
|
||
|
source=(http://pages.stern.nyu.edu/~marriaga/software/libtrash/$pkgname-latest.tgz libtrash.patch libtrash.sh)
|
||
|
md5sums=('56f7b54f50d760e4719f73b98cd8b43a'
|
||
|
'662e030819f2954b59e7646c77855f6c'
|
||
|
'de716ae481adc8e88ddd32ea72808230')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/$pkgname-$pkgver
|
||
|
patch -Np1 -i $startdir/src/libtrash.patch || return 1
|
||
|
mkdir -p $startdir/pkg/usr/lib $startdir/pkg/etc/profile.d
|
||
|
make INSTLIBDIR=$startdir/pkg/usr/lib SYSCONFFILE=$startdir/pkg/etc || return 1
|
||
|
make INSTLIBDIR=$startdir/pkg/usr/lib SYSCONFFILE=$startdir/pkg/etc install || return 1
|
||
|
install -D -m 644 $startdir/src/libtrash.sh $startdir/pkg/etc/profile.d/libtrash.sh
|
||
|
}
|