From 4b5a37f7f52606515a83aaca55c33714f6095129 Mon Sep 17 00:00:00 2001
From: Cem Keylan <cem@ckyln.com>
Date: Mon, 16 Aug 2021 22:49:31 +0300
Subject: parted: add new package at 3.4

---
 community/parted/build     | 14 ++++++++++++++
 community/parted/checksums |  2 ++
 community/parted/sources   |  1 +
 community/parted/version   |  1 +
 4 files changed, 18 insertions(+)
 create mode 100755 community/parted/build
 create mode 100644 community/parted/checksums
 create mode 100644 community/parted/sources
 create mode 100644 community/parted/version

diff --git a/community/parted/build b/community/parted/build
new file mode 100755
index 00000000..4ade35be
--- /dev/null
+++ b/community/parted/build
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+export LDFLAGS="$LDFLAGS -static"
+
+./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --disable-nls \
+    --disable-rpath \
+    --disable-device-mapper \
+    "--with$(cpt l -C readline '' out)-readline"
+
+make
+make DESTDIR="$1" install
diff --git a/community/parted/checksums b/community/parted/checksums
new file mode 100644
index 00000000..191bb5b2
--- /dev/null
+++ b/community/parted/checksums
@@ -0,0 +1,2 @@
+%BLAKE3
+1e55ace37a146ff7625d21dd41d04e7948f1ec78ea962ac743b12414b9c86255  parted-3.4.tar.xz
diff --git a/community/parted/sources b/community/parted/sources
new file mode 100644
index 00000000..1d6a356c
--- /dev/null
+++ b/community/parted/sources
@@ -0,0 +1 @@
+https://ftp.gnu.org/gnu/parted/parted-3.4.tar.xz
diff --git a/community/parted/version b/community/parted/version
new file mode 100644
index 00000000..5647cc28
--- /dev/null
+++ b/community/parted/version
@@ -0,0 +1 @@
+3.4 1
-- 
cgit v1.2.3