Last active
October 22, 2018 22:48
-
-
Save juadde/8fab9507355386fd7c63065ab4ce1363 to your computer and use it in GitHub Desktop.
f3 7.1 PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Kyle <kyle@free2.ml> | |
# Contributor: mib1982 <Mi.Bentlage@gmail.com> | |
# Contributor: z3ntu <luca.emanuel.weiss@gmail.com> | |
pkgname=f3 | |
pkgver=7.1 | |
pkgrel=1 | |
pkgdesc="Utilities to detect and repair counterfeit flash storage, i.e. thumb drives and memory cards with less flash than advertised" | |
arch=('armv7h' 'aarch64' 'i686' 'x86_64') | |
url="http://oss.digirati.com.br/f3/" | |
license=('GPL3') | |
depends=('parted') | |
options=('!buildflags' | |
'!makeflags') | |
conflicts=() | |
provides=() | |
source=(https://github.com/AltraMayor/${pkgname}/archive/v${pkgver}.zip) | |
md5sums=('4f182a788df609bd4eaa84796ccdade1') | |
build() { | |
cd ${srcdir}/${pkgname}-${pkgver} | |
sed -i -e 's:/usr/local:/usr:g' Makefile | |
make | |
make extra | |
} | |
package() { | |
cd ${srcdir}/${pkgname}-${pkgver} | |
make DESTDIR=$pkgdir install | |
make DESTDIR=$pkgdir install-extra | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment