summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 037229290bce4063716de9d7194fa5dac4d753c6 (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: Antonio Napolitano <nap at antonionapolitano dot eu>
pkgname=sincon-git
pkgver=2.1
pkgrel=1
pkgdesc="Semplice wrapper script che permette di ottenere sinonimi e contrari di una parola da www.sinonimi-contrari.it"
arch=('any')
url="https://git.antonionapolitano.eu/napaalm/sincon"
license=('GPL')
depends=('python' 'python-beautifulsoup4')
makedepends=('git')
provides=("sincon")
conflicts=("sincon")
source=('sincon-git::git+https://git.antonionapolitano.eu/napaalm/sincon')
md5sums=('SKIP')

pkgver() {
	echo "$srcdir/sincon-git" 1>&2
	cd "$srcdir/sincon-git"
	git describe --tag
}

package() {
	cd "$srcdir/sincon-git"
	install -Dm755 sincon.py $pkgdir/usr/bin/sincon
	install -Dm644 LICENSE $pkgdir/usr/share/licenses/${pkgname%-*}/LICENSE
}