blob: 304cd9fe0841ba12eabb4afa1edcba877a90e72a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
## ldm PKGBUILD
# Contributor: The Lemon Man
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=ldm
pkgver=0.7
pkgrel=24
pkgdesc="A lightweight device mounter"
arch=('i686' 'pentium4' 'x86_64')
url="https://github.com/LemonBoy/ldm"
license=('MIT')
_pinned_dependencies=(
'glib2=2.64.3'
'glibc>=2.31'
'libutil-linux=2.35.2'
'systemd-libs=245.6'
)
depends=('udev' "${_pinned_dependencies[@]}")
provides=('ldm')
conflicts=('ldm-git')
install=$pkgname.install
source=("$pkgname-$pkgver.tar.gz"::"http://github.com/lemonboy/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('fb464bffec5b7d0680009b43a95881e8c02ec07e84d6f7fb05206d666dc44bdb')
build() {
cd "$srcdir/$pkgname-$pkgver"
PATH=${PATH}:/usr/bin/core_perl make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
PATH=${PATH}:/usr/bin/core_perl make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|