blob: 71e6dd76bfea1e30144924954f2f8ee305662316 (
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
36
|
# Contributer: Jamie Nguyen <jamie@tomoyolinux.co.uk>
# Contributer: Bill Sun <cap.sensitive@gmail.com>
# Maintainer : Parabola Aurélien DESBRIERES <aurelien@hackers.camp>
pkgname=bashmount
pkgver=3.2.0
pkgrel=1
pkgdesc="A menu-driven bash script for the management of removable media with udisks."
arch=('any')
url='https://github.com/jamielinux/bashmount'
license=('GPL2')
optdepends=('udisks2')
backup=(etc/bashmount.conf)
source=("https://github.com/jamielinux/${pkgname}/archive/${pkgver}.tar.gz")
package()
{
cd "${srcdir}/${pkgname}-${pkgver}"
# Install script
install -D -m755 bashmount "${pkgdir}/usr/bin/bashmount"
# Install config file
install -D -m644 bashmount.conf "${pkgdir}/etc/bashmount.conf"
# install man page
gzip -c -9 bashmount.1 > bashmount.1.gz
install -D -m644 bashmount.1.gz "${pkgdir}/usr/share/man/man1/bashmount.1.gz"
# Install documentation
install -d -m755 "${pkgdir}/usr/share/doc/bashmount"
# Currently the source code doesn't have an 'AUTHORS' file
#install -m644 AUTHORS "${pkgdir}/usr/share/doc/bashmount/AUTHORS"
install -m644 COPYING "${pkgdir}/usr/share/doc/bashmount/COPYING"
install -m644 NEWS "${pkgdir}/usr/share/doc/bashmount/NEWS"
}
|