summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aaff29e5ce3df073ad6a449906863e3da230efbf (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
# Maintainer: Mike Cuche <cuche@gmx.com>
pkgname=keepassxc-wordlist-italian
pkgver=4
pkgrel=1
pkgdesc="Italian diceware wordlist for keepassxc"
arch=('any')
url="https://www.taringamberini.com/it/diceware_it_IT/lista-di-parole-diceware-in-italiano/"
license=('GPL')
depends=('keepassxc>=2.2.0')
source=(
    "https://www.taringamberini.com/downloads/diceware_it_IT/lista-di-parole-diceware-in-italiano/4/word_list_diceware_it-IT-4.txt"
    )
sha256sums=(
    "b441559b64fb7041b9bbcecb3c43111f2523ec84e172670409f40c462eda0b93"
    )

prepare() {
    tail -n +18 word_list_diceware_it-IT-4.txt |
	head -n 7776 |
	sed 's/^[1-6]\+[ \t]\+\([^ \t]\+\).*$/\1/' > $srcdir/diceware-it-v4.wordlist
}

package() {
    install -Dm644 $srcdir/diceware-it-v4.wordlist \
	$pkgdir/usr/share/keepassxc/wordlists/diceware-it-v4.wordlist
}