mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-07 02:37:14 +08:00
34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
|
#
|
||
|
# Platform Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||
|
|
||
|
pkgname=gptfdisk
|
||
|
pkgver=0.8.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="A text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.rodsbooks.com/gdisk/"
|
||
|
license=('GPL2')
|
||
|
depends=('gcc-libs' 'util-linux' 'popt' 'icu')
|
||
|
provides=("gdisk=$pkgver")
|
||
|
conflicts=('gdisk')
|
||
|
replaces=('gdisk')
|
||
|
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
|
||
|
md5sums=('f38e33a9bc644ec1dee50fdc3dfe4d69')
|
||
|
|
||
|
build() {
|
||
|
cd "$srcdir/$pkgname-$pkgver"
|
||
|
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package () {
|
||
|
cd "$srcdir/$pkgname-$pkgver"
|
||
|
|
||
|
install -d "$pkgdir"/{sbin,usr/share/{doc/gdisk,man/man8}}
|
||
|
install -t "$pkgdir/sbin" {,c,s}gdisk fixparts
|
||
|
install -m644 -t "$pkgdir/usr/share/man/man8" {{,c,s}gdisk,fixparts}.8
|
||
|
install -m644 -t "$pkgdir/usr/share/doc/gdisk" README NEWS
|
||
|
}
|