diff --git a/clonezilla-unstable/.SRCINFO b/clonezilla-unstable/.SRCINFO new file mode 100644 index 0000000..c7d0342 --- /dev/null +++ b/clonezilla-unstable/.SRCINFO @@ -0,0 +1,37 @@ +pkgbase = clonezilla-unstable + pkgdesc = ncurses partition and disk imaging/cloning program + pkgver = 5.2.6 + pkgrel = 1 + url = https://clonezilla.org + arch = any + license = GPL2 + depends = drbl + depends = partclone + depends = ntfs-3g + depends = partimage + depends = pigz + depends = sshfs + depends = parted + depends = gptfdisk + depends = dosfstools + depends = gzip + depends = bzip2 + depends = pbzip2 + depends = lbzip2 + depends = lrzip + depends = xz + depends = pixz + depends = lzop + depends = ecryptfs-utils + depends = screen + depends = perl + depends = cifs-utils + provides = clonezilla + conflicts = clonezilla + backup = etc/drbl/drbl-ocs.conf + source = https://free.nchc.org.tw/drbl-core/src/unstable/clonezilla-5.2.6.tar.xz + source = usrbin.patch + sha256sums = d5f3582921832555174133d033814879c6fd2b81bff837e876efb1f838109791 + sha256sums = 9340f18b27a1b3b41c4935c5831f6503e4cadf333f03433769906da40a6e38e6 + +pkgname = clonezilla-unstable diff --git a/clonezilla-unstable/PKGBUILD b/clonezilla-unstable/PKGBUILD new file mode 100644 index 0000000..36d870d --- /dev/null +++ b/clonezilla-unstable/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Manuel Hüsers + +pkgname=clonezilla-unstable +_pkgname=clonezilla +pkgver=5.2.6 +pkgrel=1 +pkgdesc="ncurses partition and disk imaging/cloning program" +arch=('any') +url="https://clonezilla.org" +license=('GPL2') +depends=('drbl' 'partclone' 'ntfs-3g' 'partimage' 'pigz' 'sshfs' 'parted' + 'gptfdisk' 'dosfstools' 'gzip' 'bzip2' 'pbzip2' 'lbzip2' 'lrzip' + 'xz' 'pixz' 'lzop' 'ecryptfs-utils' 'screen' 'perl' 'cifs-utils') +backup=('etc/drbl/drbl-ocs.conf') +conflicts=("${_pkgname}") +provides=("${_pkgname}") +source=("https://free.nchc.org.tw/drbl-core/src/unstable/${_pkgname}-${pkgver}.tar.xz" + 'usrbin.patch') +sha256sums=('d5f3582921832555174133d033814879c6fd2b81bff837e876efb1f838109791' + '9340f18b27a1b3b41c4935c5831f6503e4cadf333f03433769906da40a6e38e6') + +prepare() { + cd "${_pkgname}-${pkgver}" + + patch -Np0 -i "${srcdir}/usrbin.patch" +} + +package() { + cd "${_pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} diff --git a/clonezilla-unstable/usrbin.patch b/clonezilla-unstable/usrbin.patch new file mode 100644 index 0000000..1970aeb --- /dev/null +++ b/clonezilla-unstable/usrbin.patch @@ -0,0 +1,13 @@ +--- Makefile.orig 2013-05-30 17:42:49.851418658 +0100 ++++ Makefile 2013-05-30 17:44:41.157482402 +0100 +@@ -18,8 +18,8 @@ + + install: + # install exec files +- install -d ${DESTDIR}/usr/ +- cp -a sbin bin ${DESTDIR}/usr/ ++ install -d ${DESTDIR}/usr/bin ++ cp -a sbin/* bin/* ${DESTDIR}/usr/bin/ + + # install setup dir + install -d $(DESTDIR)/$(SHAREDIR)/