Skip to content

@gutenye /PKGBUILD
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PKGBUILD
# just because AUR upload doesn't like ".pkg.tar.xz"
#PKGEXT=".pkg.tar.gz"
pkgname=gptsync
pkgver=0.14
pkgrel=2
pkgdesc="gptsync is a utility to maintain an MBR partition table synchronised with a GPT partition table used as reference. The resulting MBR partition table can contain up to 4 partitions; extended partitions are not supported."
arch=('i686' 'x86_64')
url=('http://packages.debian.org/sid/gptsync')
license=('custom')
makedepends=()
source=("http://ftp.us.debian.org/debian/pool/main/r/refit/gptsync_0.14-2_i386.deb")
md5sums=('8cb9e2e6a30754fcb95da574e03faa28')
[ "$CARCH" = "x86_64" ] && source=("http://ftp.us.debian.org/debian/pool/main/r/refit/gptsync_0.14-2_amd64.deb")
[ "$CARCH" = "x86_64" ] && md5sums=('6398243d5d1bf33467553f4344fc4c2d')
build() {
debfile=${source#http://ftp.us.debian.org/debian/pool/main/r/refit/}
cd ${srcdir}
ar xvf ${debfile}
tar xvf data.tar.gz
find usr -type f -exec install -D -m644 {} ${pkgdir}/{} \;
find sbin -type f -exec install -D -m755 {} ${pkgdir}/{} \;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.