blob: e565b3f3a9debbfc6c208abe3ed85638170caa50 (
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
|
# Maintainer: Giacomo Comitti <dev@gcomit.com>
pkgname=blkmenu
pkgver=0.3.1
_pkgname="_${pkgname}"
pkgrel=1
pkgdesc="Tiny curses wrapper around lsblk and udisksctl"
arch=("i686" "x86_64")
url="https://github.com/gcmt/blkmenu"
license=("MIT")
provides=("blkmenu")
conflicts=("blkmenu")
depends=("python" "udisks2" "util-linux")
makedepends=("git" "asciidoc")
source=("${_pkgname}::git+https://github.com/gcmt/blkmenu")
sha1sums=("SKIP")
pkgver() {
git -C "${_pkgname}" describe --long --tags | sed "s/-/.r/;s/-/./g"
}
package() {
install -Dm755 "${_pkgname}/blkmenu" "${pkgdir}/usr/bin/blkmenu"
install -Dm644 "${_pkgname}/blkmenu.1" "${pkgdir}/usr/share/man/man1/blkmenu.1"
install -Dm644 "${_pkgname}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
}
|