Created
March 3, 2014 06:42
-
-
Save evanpurkhiser/9319612 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Robin Hahling | |
pkgname=ldm-git | |
_pkgname=ldm | |
pkgver=20130902 | |
pkgrel=1 | |
pkgdesc="A lightweight device mounter" | |
arch=('i686' 'x86_64') | |
url="https://github.com/LemonBoy/ldm" | |
license=('MIT') | |
depends=('udev') | |
makedepends=('git') | |
provides=(${_pkgname}) | |
conflicts=(${_pkgname}) | |
install=ldm.install | |
source=("git://github.com/LemonBoy/${_pkgname}") | |
md5sums=('SKIP') | |
build() { | |
cd "$srcdir/$_pkgname" | |
# needed before it is fixed in the Makefile | |
export LDFLAGS="" | |
make | |
} | |
package() { | |
cd "$srcdir/$_pkgname" | |
make PREFIX="/usr" DESTDIR="${pkgdir}" install | |
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" | |
} | |
# vim:set ts=2 sw=2 et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment