summaryrefslogtreecommitdiffstats
path: root/ldm/PKGBUILD
diff options
context:
space:
mode:
authorYigit Sever2022-10-15 15:42:27 +0300
committerYigit Sever2022-10-15 15:42:27 +0300
commit2cc8a97489efa9654b9e794717a19bb1674913a0 (patch)
tree905e979f814d17e7be383c03965fb106db9c519c /ldm/PKGBUILD
parentecfc19b6d40658f8674fe3eb80c9f2d28a277cdc (diff)
downloadpackages-2cc8a97489efa9654b9e794717a19bb1674913a0.tar.gz
packages-2cc8a97489efa9654b9e794717a19bb1674913a0.tar.bz2
packages-2cc8a97489efa9654b9e794717a19bb1674913a0.zip
ldm: Adopted
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