Skip to content
Snippets Groups Projects
Commit 8abdd4e0 authored by Sertonix's avatar Sertonix Committed by J0WI
Browse files

main/gptfdisk: modernize

Also removes the executable flag from the man pages
parent ed9ada7f
No related branches found
No related tags found
1 merge request!64078main/gptfdisk: modernize
Pipeline #227857 skipped
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gptfdisk pkgname=gptfdisk
pkgver=1.0.10 pkgver=1.0.10
pkgrel=0 pkgrel=1
pkgdesc="Text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks" pkgdesc="Text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks"
arch="all" arch="all"
url="https://www.rodsbooks.com/gdisk" url="https://www.rodsbooks.com/gdisk"
...@@ -22,11 +22,8 @@ build() { ...@@ -22,11 +22,8 @@ build() {
} }
package() { package() {
mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man8 install -Dm0644 -t "$pkgdir"/usr/share/man/man8 ./*.8
local i; for i in gdisk cgdisk sgdisk fixparts; do install -Dm0755 -t "$pkgdir"/usr/bin gdisk cgdisk sgdisk fixparts
install $i "$pkgdir"/usr/bin/
install $i.8 "$pkgdir"/usr/share/man/man8/
done
} }
check() { check() {
...@@ -35,8 +32,8 @@ check() { ...@@ -35,8 +32,8 @@ check() {
sgdisk() { sgdisk() {
pkgdesc="Command-line GUID partition table (GPT) manipulator" pkgdesc="Command-line GUID partition table (GPT) manipulator"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/sgdisk "$subpkgdir"/usr/bin/ amove usr/bin/sgdisk
} }
sha512sums=" sha512sums="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment