diff options
Diffstat (limited to 'ldm/PKGBUILD')
-rw-r--r-- | ldm/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ldm/PKGBUILD b/ldm/PKGBUILD new file mode 100644 index 0000000..c493f01 --- /dev/null +++ b/ldm/PKGBUILD | |||
@@ -0,0 +1,35 @@ | |||
1 | ## ldm PKGBUILD | ||
2 | # Maintainer: The Lemon Man | ||
3 | |||
4 | pkgname=ldm | ||
5 | pkgver=0.7 | ||
6 | pkgrel=2 | ||
7 | pkgdesc="A lightweight device mounter" | ||
8 | arch=('i686' 'x86_64' 'armv7h') | ||
9 | url="https://github.com/LemonBoy/ldm" | ||
10 | license=('MIT') | ||
11 | depends=('udev' 'util-linux' 'glib2') | ||
12 | provides=('ldm') | ||
13 | conflicts=('ldm-git') | ||
14 | install=$pkgname.install | ||
15 | source=("$pkgname-$pkgver.tar.gz"::"http://github.com/lemonboy/$pkgname/archive/v$pkgver.tar.gz") | ||
16 | sha256sums=('fb464bffec5b7d0680009b43a95881e8c02ec07e84d6f7fb05206d666dc44bdb') | ||
17 | |||
18 | prepare() { | ||
19 | cd "$srcdir/$pkgname-$pkgver" | ||
20 | } | ||
21 | |||
22 | build() { | ||
23 | export PATH=$PATH:/usr/bin/core_perl | ||
24 | cd "$srcdir/$pkgname-$pkgver" | ||
25 | make | ||
26 | } | ||
27 | |||
28 | package() { | ||
29 | export PATH=$PATH:/usr/bin/core_perl | ||
30 | cd "$srcdir/$pkgname-$pkgver" | ||
31 | make PREFIX=/usr DESTDIR="$pkgdir" install | ||
32 | |||
33 | install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
34 | } | ||
35 | |||