summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9088398eda78dad92d7eedbe61324b186e06fba4 (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
27
28
29
30
31
# Maintainer: Pavel Sibal <entexsoft@gmail.com>
pkgname=repair-usb-disc-gtk4
pkgver=0.1
pkgrel=0
pkgdesc="Simple GTK4 GUI tool to repair USB drives (NTFS, FAT32, exFAT)."
arch=('any')
url="https://gitlab.com/linux-stuffs/linux-goodies/-/tree/master/repair-usb-disc-gtk4"
license=('GPL3')
provides=("${pkgname}")
conflicts=("${pkgname}")
depends=('python' 'python-gobject' 'gtk4' 'util-linux' 'ntfs-3g' 'exfatprogs' 'dosfstools' 'repair-usb-disc')
optdepends=(
  'xfce4-terminal: default terminal emulator'
  'gnome-terminal: alternative terminal emulator'
  'konsole: alternative terminal emulator'
  'mate-terminal: alternative terminal emulator'
  'kitty: alternative terminal emulator'
  'alacritty: alternative terminal emulator'
  'xterm: alternative terminal emulator'
)
options=('!strip')
source=('https://gitlab.com/linux-stuffs/linux-goodies/-/raw/master/repair-usb-disc-gtk4/distrib/repair-usb-disc-gtk4-0.1-0.tar.gz')
sha256sums=('SKIP')

package() {
	cd "${srcdir}/${pkgname}"
	./configure  --prefix=/usr
	make install DESTDIR="${pkgdir}"
	mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
	cp --no-preserve=ownership "${pkgdir}/usr/share/doc/${pkgname}/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}