summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ce76e25d1118f5dbd7fd30ae784e6294d4b49082 (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
# Maintainer: ferk <ferkiwi @at gmail dot com>

pkgname=udev-media-automount
pkgver=24.7e62e0e
pkgrel=1
pkgdesc="Automatic mounting of removable devices in /media using simple udev rules"
arch=('any')
url="http://github.com/Ferk/udev-media-automount"
license=('GPL2')
depends=('bash' 'util-linux' 'systemd')
makedepends=('git')
conflicts=()
provides=()
source=("git://github.com/Ferk/udev-media-automount.git")
md5sums=('SKIP')

_gitroot="udev-media-automount"

pkgver () {
    cd "$srcdir/$_gitroot"
    echo "$(git rev-list --count HEAD).$(git describe --always)"
}

package() {
    cd "$srcdir/$_gitroot"
    make PREFIX=/usr DESTDIR="$pkgdir" install
}