[arch-commits] Commit in parted/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Christian Hesse eworm at archlinux.org
Tue Feb 2 18:08:02 UTC 2021


    Date: Tuesday, February 2, 2021 @ 18:08:02
  Author: eworm
Revision: 407086

archrelease: copy trunk to staging-x86_64

Added:
  parted/repos/staging-x86_64/
  parted/repos/staging-x86_64/PKGBUILD
    (from rev 407085, parted/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: parted/repos/staging-x86_64/PKGBUILD (from rev 407085, parted/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-02-02 18:08:02 UTC (rev 407086)
@@ -0,0 +1,35 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=parted
+pkgver=3.4
+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 <psusi at ubuntu.com>
+              'B4C6B451E4FA8B4232CA191E117E8C168EFE3A7F') # Brian C. Lane <bcl at redhat.com>
+source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('e1298022472da5589b7f2be1d5ee3c1b66ec3d96dfbad03dc642afd009da5342'
+            '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
+}


More information about the arch-commits mailing list