summaryrefslogtreecommitdiffstats
path: root/abs/core/ldm/PKGBUILD
blob: c9731cf11fc78c5690c9138ba13f79cf456b3416 (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
# Maintainer: Robin Hahling
pkgname=ldm
pkgver=0.3
pkgrel=2
pkgdesc="A lightweight device mounter"
arch=('i686' 'x86_64')
url="https://github.com/LemonBoy/ldm"
license=('MIT')
depends=('udev')
provides=('ldm')
conflicts=('ldm-git')
#source=(http://github.com/LemonBoy/${pkgname}/tarball/v${pkgver})
source=(http://github.com/LemonBoy/${pkgname}/archive/master.tar.gz)
install=ldm.install

build() {
  #cd LemonBoy-${pkgname}-8417f5b
  cd ${pkgname}-master 
  # needed before it is fixed in the MakefileL
  export LDFLAGS=""
  make
}

package() {
  #cd LemonBoy-${pkgname}-8417f5b
  cd ${pkgname}-master 
  make PREFIX="/usr" DESTDIR="${pkgdir}" install

  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

# vim:set ts=2 sw=2 et:
md5sums=('07a355b88bb290da05c168a2d8ed8409')