blob: 1668b787c8d4c953126ca8af2a0000ba23cdc6fd (
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: Philipp Kühn <p dot kuehn at posteo dot de>
pkgname=python-dictcc
pkgver=1.7
pkgrel=1
pkgdesc="commandline tool for dict.cc"
arch=('any')
url="https://github.com/randomn4me/dictcc/"
license=('ISC')
depends=('python'
'python-beautifulsoup4'
'python-tabulate')
source=("dictcc.py")
md5sums=('c09321e6a9171c93aa4df2243c9e450c')
provides=("python-dictcc=$pkgver-$pkgrel")
source=("https://github.com/randomn4me/${pkgname#python-}/archive/${pkgver}.tar.gz")
package() {
cd "${pkgname#python-}-${pkgver}"
install -Dm755 "${srcdir}/${pkgname#python-}-${pkgver}/dictcc.py" \
"${pkgdir}/usr/bin/dictcc"
install -Dm755 "${srcdir}/${pkgname#python-}-${pkgver}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|