blob: 15bf199cf90f653c9248db32d562bd5bc9b5ad3b (
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
|
# Maintainer: Jacob Mischka <jacob@mischka.me>
# Maintainer: Brokenpip3 <brokenpip3[at]gmail[dot]com>
pkgname=bash-notes-git
pkgver=1.1.0.r0.gbf2c6ad
pkgrel=1
pkgdesc="Simple delightful note taking, with more unix and less lock-in."
arch=('any')
url="https://github.com/pimterry/notes"
license=('MIT')
depends=('bash')
conflicts=('notes' 'notes-git' 'bash-notes')
makedepends=('git')
provides=('bash-notes')
source=('git+https://github.com/pimterry/notes.git')
md5sums=('SKIP')
_pkgname=notes
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/$_pkgname"
install -D ${_pkgname} "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 ${_pkgname}.bash_completion "${pkgdir}/usr/share/bash-completion/completions/${_pkgname}"
install -Dm644 ${_pkgname}.fish "${pkgdir}/usr/share/fish/completions/${_pkgname}.fish"
install -Dm644 ${_pkgname}.1 "${pkgdir}/usr/share/man/man1/${_pkgname}.1"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
install -Dm644 config "${pkgdir}/usr/share/${_pkgname}/config.example"
}
|