1 # just because AUR upload doesn't like ".pkg.tar.xz"
7 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."
9 url=('http://packages.debian.org/sid/gptsync')
11 makedepends=('deb2targz')
12 source=("http://ftp.us.debian.org/debian/pool/main/r/refit/gptsync_0.14-2_i386.deb")
13 md5sums=('8cb9e2e6a30754fcb95da574e03faa28')
14 [ "$CARCH" = "x86_64" ] && source=("http://ftp.us.debian.org/debian/pool/main/r/refit/gptsync_0.14-2_amd64.deb")
15 [ "$CARCH" = "x86_64" ] && md5sums=('6398243d5d1bf33467553f4344fc4c2d')
18 debfile=${source#http://ftp.us.debian.org/debian/pool/main/r/refit/}
23 tar xvf ${debfile%deb}tar.gz # ${pkgdir}
25 find usr -type f -exec install -D -m644 {} ${pkgdir}/{} \;
26 find sbin -type f -exec install -D -m755 {} ${pkgdir}/{} \;