summaryrefslogtreecommitdiffstats
path: root/ldm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'ldm/PKGBUILD')
-rw-r--r--ldm/PKGBUILD35
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
4pkgname=ldm
5pkgver=0.7
6pkgrel=2
7pkgdesc="A lightweight device mounter"
8arch=('i686' 'x86_64' 'armv7h')
9url="https://github.com/LemonBoy/ldm"
10license=('MIT')
11depends=('udev' 'util-linux' 'glib2')
12provides=('ldm')
13conflicts=('ldm-git')
14install=$pkgname.install
15source=("$pkgname-$pkgver.tar.gz"::"http://github.com/lemonboy/$pkgname/archive/v$pkgver.tar.gz")
16sha256sums=('fb464bffec5b7d0680009b43a95881e8c02ec07e84d6f7fb05206d666dc44bdb')
17
18prepare() {
19 cd "$srcdir/$pkgname-$pkgver"
20}
21
22build() {
23 export PATH=$PATH:/usr/bin/core_perl
24 cd "$srcdir/$pkgname-$pkgver"
25 make
26}
27
28package() {
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