summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0cdc13377ff1938c4bcec9b1b73849131d1c1763 (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: TheBitStick <thebitstick@librem.one> <the@bitstick.rip>
pkgname=nautilus-gnome-disks-git
_pkgname=nautilus-gnome-disks
pkgver=r4.496beb7
pkgrel=1
pkgdesc="Allows you to restore/write/flash a disk image to storage devices using GNOME Disks from Nautilus"
arch=('any')
url="https://github.com/thebitstick/nautilus-gnome-disks"
license=('GPL3')
depends=('python-nautilus' 'gnome-disk-utility')
makedepends=('git')
provides=('nautilus-gnome-disks')
conflicts=('nautilus-gnome-disks')
source=('git+https://github.com/thebitstick/nautilus-gnome-disks')
sha512sums=('SKIP')

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

package() {
	install --mode=644 -D -t "$pkgdir/usr/share/nautilus-python/extensions" "${_pkgname}/nautilus-gnome-disks.py"
}