diff options
author | Santiago Lo Coco | 2022-08-23 02:59:00 +0000 |
---|---|---|
committer | Santiago Lo Coco | 2022-08-23 02:59:00 +0000 |
commit | 04e2c13be8dc239d36ad4f005e2b24d1f5a02a2e (patch) | |
tree | cb53201427184edb6ccdd7e8d027ffb75da2b093 | |
parent | efa54513a55b45bbe46723c705acf6920b2c7364 (diff) | |
download | aur-04e2c13be8dc239d36ad4f005e2b24d1f5a02a2e.tar.gz |
Update PKGBUILD
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 25 insertions, 26 deletions
@@ -1,13 +1,12 @@ pkgbase = bashmount-git - pkgdesc = Tool to mount and unmount removable media from the command-line - pkgver = 4.3.2.r0.g9a15ab7 - pkgrel = 1 + pkgdesc = Tool to mount and unmount removable media from the command-line. + pkgver = r210.9a15ab7 + pkgrel = 2 url = https://github.com/jamielinux/bashmount arch = any license = GPL2 makedepends = git - depends = cryptsetup - optdepends = udisks2: manage removable media without sudo + optdepends = udisks2: remove media without sudo provides = bashmount conflicts = bashmount backup = etc/bashmount.conf @@ -15,4 +14,3 @@ pkgbase = bashmount-git sha256sums = SKIP pkgname = bashmount-git - @@ -1,32 +1,33 @@ -# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz> +# Maintainer: Santiago Lo Coco <mail at slococo dot com dot ar> -_pkgname='bashmount' +_pkgname="bashmount" pkgname="${_pkgname}-git" -pkgver=4.3.2.r0.g9a15ab7 -pkgrel=1 -pkgdesc='Tool to mount and unmount removable media from the command-line' +pkgver=r210.9a15ab7 +pkgrel=2 +pkgdesc="Tool to mount and unmount removable media from the command-line." arch=('any') -url='https://github.com/jamielinux/bashmount' -license=('GPL2') -depends=('cryptsetup') +url="https://github.com/jamielinux/bashmount" +license=("GPL2") makedepends=('git') -optdepends=('udisks2: manage removable media without sudo') -provides=("${_pkgname}") -conflicts=("${_pkgname}") -backup=("etc/${_pkgname}.conf") +optdepends=('udisks2: remove media without sudo') +provides=("bashmount") +conflicts=("bashmount") +backup=('etc/bashmount.conf') source=("git+${url}.git") sha256sums=('SKIP') pkgver() { - git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' + cd "${srcdir}/${_pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { - cd "${_pkgname}" - install -Dm755 -t "${pkgdir}/usr/bin" "${_pkgname}" - install -Dm755 -t "${pkgdir}/etc" "${_pkgname}.conf" - install -Dm644 -t "${pkgdir}/usr/share/man/man1" "${_pkgname}.1" - install -Dm644 -t "${pkgdir}/usr/share/doc/${_pkgname}" 'README.md' + cd "${srcdir}/${_pkgname}" + install -Dm755 bashmount "${pkgdir}/usr/bin/bashmount" + install -Dm644 bashmount.conf "${pkgdir}/etc/bashmount.conf" + gzip -c -9 bashmount.1 > bashmount.1.gz + install -Dm644 bashmount.1.gz "${pkgdir}/usr/share/man/man1/bashmount.1.gz" + install -dm755 "${pkgdir}/usr/share/doc/bashmount" + install -m644 COPYING "${pkgdir}/usr/share/doc/bashmount/COPYING" + install -m644 NEWS "${pkgdir}/usr/share/doc/bashmount/NEWS" } - -# vim: ts=2 sw=2 et: |