[arch-commits] Commit in gptfdisk/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue Feb 18 12:50:05 UTC 2020
Date: Tuesday, February 18, 2020 @ 12:50:04
Author: foutrelis
Revision: 375782
archrelease: copy trunk to extra-x86_64
Added:
gptfdisk/repos/extra-x86_64/PKGBUILD
(from rev 375781, gptfdisk/trunk/PKGBUILD)
Deleted:
gptfdisk/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 43 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-18 12:49:58 UTC (rev 375781)
+++ PKGBUILD 2020-02-18 12:50:04 UTC (rev 375782)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Tobias Powalowski <tpowa at archlinux.org>
-# Contributor: Hokum <hokum_at_mail_dot_ru>
-
-pkgname=gptfdisk
-pkgver=1.0.4
-pkgrel=1
-pkgdesc="A text-mode partitioning tool that works on GUID Partition Table (GPT) disks"
-arch=('x86_64')
-url="https://www.rodsbooks.com/gdisk/"
-license=('GPL2')
-depends=('gcc-libs' 'popt' 'libuuid.so' 'libncursesw.so')
-provides=("gdisk=$pkgver")
-conflicts=('gdisk')
-replaces=('gdisk')
-source=(https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('b663391a6876f19a3cd901d862423a16e2b5ceaa2f4a3b9bb681e64b9c7ba78d')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- make
-}
-
-check() {
- cd "$srcdir/$pkgname-$pkgver"
- make test
-}
-
-package () {
- cd "$srcdir/$pkgname-$pkgver"
-
- install -d "$pkgdir"/usr/{bin,share/{doc/gdisk,man/man8}}
- install -t "$pkgdir/usr/bin" {,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
-}
Copied: gptfdisk/repos/extra-x86_64/PKGBUILD (from rev 375781, gptfdisk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-18 12:50:04 UTC (rev 375782)
@@ -0,0 +1,43 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Hokum <hokum_at_mail_dot_ru>
+
+pkgname=gptfdisk
+pkgver=1.0.5
+pkgrel=1
+pkgdesc="A text-mode partitioning tool that works on GUID Partition Table (GPT) disks"
+arch=('x86_64')
+url="https://www.rodsbooks.com/gdisk/"
+license=('GPL2')
+depends=('gcc-libs' 'popt' 'libuuid.so' 'libncursesw.so')
+provides=("gdisk=$pkgver")
+conflicts=('gdisk')
+replaces=('gdisk')
+source=(https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('0e7d3987cd0488ecaf4b48761bc97f40b1dc089e5ff53c4b37abe30bc67dcb2f')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # https://sourceforge.net/p/gptfdisk/discussion/939590/thread/bc29ca06f8/
+ sed -i '/^#include /s|ncursesw/||' gptcurses.cc
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make test
+}
+
+package () {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -d "$pkgdir"/usr/{bin,share/{doc/gdisk,man/man8}}
+ install -t "$pkgdir/usr/bin" {,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
+}
More information about the arch-commits
mailing list