summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2284ab75335ffc53e26769bdc22a3e86e466b0f4 (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
# Maintainer: levinit <levinit@outlook.com>
pkgname=clamtk-gnome
pkgver=6.16
pkgrel=1
pkgdesc="a simple plugin for ClamTk to allow a right-click, context menu scan of files or folders in the Nautilus file manager."
arch=('any')
url="https://github.com/dave-theunsub/clamtk-gnome"
license=('GPL')
depends=('clamtk' 'python-nautilus')

source=("https://github.com/dave-theunsub/clamtk-gnome/releases/download/v${pkgver}/clamtk-gnome-${pkgver}.tar.xz")

md5sums=('44e8be8fb69694a11660e3e54242b613')

#pkgver() {
#  cd "$pkgname"
#  printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
#}

package() {
    cd $pkgname-$pkgver
    install -m 755 -D ${pkgname}.py "${pkgdir}/usr/share/nautilus-python/extensions/${pkgname}.py"
    install -m 644 -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}