summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fc91b267a694965a30e37037a54c9d1115f21cd9 (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
# Maintainer:  Paragoumba <paragoumba@protonmail.com>
# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz>
# Contributor: Kaio Augusto <kaioaugusto.8@gmail.com>
# Contributor: Kyle <kyle@free2.ml>
# Contributor: mib1982 <Mi.Bentlage@gmail.com>
# Contributor: z3ntu <luca.emanuel.weiss@gmail.com>

pkgname='f3'
pkgver=8.0
pkgrel=2
pkgdesc='Simple tool that tests flash cards capacity and performance to see if they live up to claimed specifications'
arch=('x86_64' 'armv7h' 'aarch64')
url='https://github.com/AltraMayor/f3'
license=('GPL3')
depends=('parted')
makedepends=('systemd')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('fb5e0f3b0e0b0bff2089a4ea6af53278804dfe0b87992499131445732e311ab4')

build() {
  make -C "${pkgname}-${pkgver}" {,extra}
}

package() {
  make DESTDIR="${pkgdir}" PREFIX='/usr' -C "${pkgname}-${pkgver}" install{,-extra}
  install -Dvm644 "${pkgname}-${pkgver}/README.rst" -t "${pkgdir}/usr/share/doc/${pkgname}"
}

# vim: ts=2 sw=2 et: