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