From 85931efab99b3e691c17e42f78288d4d5a0d1960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Fri, 11 Feb 2022 12:41:05 +0100 Subject: [PATCH] Initial commit with version 5.0.1 --- .SRCINFO | 37 +++++++++++++++++++++++++++++++++++++ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ usrbin.patch | 13 +++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD create mode 100644 usrbin.patch diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..810f801 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,37 @@ +pkgbase = clonezilla-unstable + pkgdesc = ncurses partition and disk imaging/cloning program + pkgver = 5.0.1 + 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.0.1.tar.xz + source = usrbin.patch + sha256sums = 08ff61f8e5c5a3328cf00cb67636fcc2668700a4a1202d44c8d6f7222eb6c578 + sha256sums = 9340f18b27a1b3b41c4935c5831f6503e4cadf333f03433769906da40a6e38e6 + +pkgname = clonezilla-unstable diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..0c12cdb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Manuel Hüsers + +pkgname=clonezilla-unstable +_pkgname=clonezilla +pkgver=5.0.1 +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=('08ff61f8e5c5a3328cf00cb67636fcc2668700a4a1202d44c8d6f7222eb6c578' + '9340f18b27a1b3b41c4935c5831f6503e4cadf333f03433769906da40a6e38e6') + +prepare() { + cd "${_pkgname}-${pkgver}" + + patch -Np0 -i "${srcdir}/usrbin.patch" +} + +package() { + cd "${_pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} diff --git a/usrbin.patch b/usrbin.patch new file mode 100644 index 0000000..1970aeb --- /dev/null +++ b/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)/