summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 77bc4be6aa01eb4271fb6d7e147877d691543fc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Alexander Agura <agura@tfwno.gf>
pkgname=find-the-command
pkgver=1.4.1
pkgrel=2
pkgdesc="Advanced command-not-found hook for bash and zsh using the power of pacman"
arch=('any')
url="https://github.com/agura-lex/find-the-command"
license=('custom:WTFPL')
depends=('pacman>=5.0')
optdepends=('zsh: cool interactive shell with plenty of features'
            'sudo: for root access (needed for packages installation)')
install=find-the-command.install
source=("https://github.com/agura-lex/$pkgname/archive/$pkgver.tar.gz")
md5sums=('69ea3d114ec0af62380da253a3a7f86a')

package() {
	cd "$pkgname-$pkgver"
	rm .gitignore
	mkdir -p usr/share/licenses/$pkgname
	mv LICENSE usr/share/licenses/$pkgname/
	mv README.md usr/share/doc/$pkgname/
	cp -a * $pkgdir/
}