# Maintainer: Giovanni Scafora # Contributor: Aaron Griffin pkgname=parted pkgver=3.3 pkgrel=2 pkgdesc="A program for creating, destroying, resizing, checking and copying partitions" arch=('x86_64') license=('GPL3') url='https://www.gnu.org/software/parted/parted.html' depends=('device-mapper' 'util-linux-libs') makedepends=('pkg-config') validpgpkeys=('1B49F933916A37A3F45A1812015F4DD4A70FB705' # Phillip Susi 'B4C6B451E4FA8B4232CA191E117E8C168EFE3A7F') # Brian C. Lane source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig}) sha256sums=('57e2b4bd87018625c515421d4524f6e3b55175b472302056391c5f7eccb83d44' 'SKIP') build() { cd "${srcdir}/${pkgname}-${pkgver}" # Do *not* add --disable-debug, it prevents building fatresize # https://github.com/ya-mouse/fatresize/issues/9 ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ --disable-rpath make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }