diff options
author | nl6720 | 2018-07-11 22:35:35 +0300 |
---|---|---|
committer | nl6720 | 2018-07-11 22:35:35 +0300 |
commit | dfa57def74f3bf1ed8ade6c5d8228a238529efa1 (patch) | |
tree | 7b17a0f7077e01a2b4ebe5adb1c91dca0eee71e5 | |
parent | 9d9ba820757761ab018f64468e2b5cb986e8cdcf (diff) | |
download | aur-dfa57def74f3bf1ed8ade6c5d8228a238529efa1.tar.gz |
gptfdisk-git 1.0.4.r177.g4cd84de
Remove unneded prepare().
Add checkdepends.
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 8 insertions, 12 deletions
@@ -1,17 +1,18 @@ pkgbase = gptfdisk-git pkgdesc = A text-mode partitioning tool that works on GUID Partition Table (GPT) disks - GIT Version - pkgver = 1.0.4.r177.4cd84de + pkgver = 1.0.4.r177.g4cd84de pkgrel = 1 url = https://www.rodsbooks.com/gdisk/ arch = x86_64 license = GPL2 + checkdepends = bash makedepends = git depends = gcc-libs depends = popt depends = libuuid.so depends = libncursesw.so - provides = gptfdisk=1.0.4.r177.4cd84de - provides = gdisk=1.0.4.r177.4cd84de + provides = gptfdisk=1.0.4.r177.g4cd84de + provides = gdisk=1.0.4.r177.g4cd84de conflicts = gptfdisk conflicts = gdisk source = gptfdisk::git+https://git.code.sf.net/p/gptfdisk/code#branch=master @@ -1,18 +1,19 @@ # Maintainer: Chris Severance aur.severach AatT spamgourmet.com -# Contributor: nl6720 <nl6720@gmail.com> +# Maintainer: nl6720 <nl6720@gmail.com> # Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)> # Contributor: Evangelos Foutras <evangelos@foutrelis.com> # Contributor: Tobias Powalowski <tpowa@archlinux.org> # Contributor: Hokum <hokum_at_mail_dot_ru> pkgname='gptfdisk-git' -pkgver=1.0.4.r177.4cd84de +pkgver=1.0.4.r177.g4cd84de pkgrel=1 pkgdesc='A text-mode partitioning tool that works on GUID Partition Table (GPT) disks - GIT Version' arch=('x86_64') url='https://www.rodsbooks.com/gdisk/' license=('GPL2') makedepends=('git') +checkdepends=('bash') depends=('gcc-libs' 'popt' 'libuuid.so' 'libncursesw.so') conflicts=("${pkgname%-git}" 'gdisk') provides=("${pkgname%-git}=${pkgver}" "gdisk=${pkgver}") @@ -21,13 +22,7 @@ sha256sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname%-git}" - printf '%s.r%s.%s' "$(grep -Po 'GPTFDISK_VERSION "\K[\d.]+' "${srcdir}/${pkgname%-git}/support.h")" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -prepare() { - cd "${srcdir}/${pkgname%-git}" - git clean -x -d -f - git reset --hard + printf '%s.r%s.g%s' "$(grep -Po 'GPTFDISK_VERSION "\K[\d.]+' "${srcdir}/${pkgname%-git}/support.h")" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { |