arch-packages/clonezilla-unstable/PKGBUILD

33 lines
1.1 KiB
Text
Raw Normal View History

2022-02-11 12:41:05 +01:00
# Maintainer: Manuel Hüsers <aur@huesers.de>
pkgname=clonezilla-unstable
_pkgname=clonezilla
pkgver=5.6.4
pkgrel=1
2022-02-11 12:41:05 +01:00
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'
2022-11-15 17:29:49 +01:00
'gptfdisk' 'dosfstools' 'gzip' 'bzip2' 'pbzip2' 'lbzip2' 'lrzip'
'xz' 'pixz' 'lzop' 'ecryptfs-utils' 'screen' 'perl' 'cifs-utils')
2022-02-11 12:41:05 +01:00
backup=('etc/drbl/drbl-ocs.conf')
conflicts=("${_pkgname}")
provides=("${_pkgname}")
source=("https://free.nchc.org.tw/drbl-core/src/unstable/${_pkgname}-${pkgver}.tar.xz"
2022-11-15 17:29:49 +01:00
'usrbin.patch')
sha512sums=('8538dbcf13fccea246fb027708230bfe31f864e1f86800532fb34556cfd29aaa7f054dc4f0ff07438492852f129ac46aa1c6acde57804fd5567e82ac149480f0'
'39e63eaa18ffaed7fe9a2dde449c8b57d4a3dc313024213881bd620d0011671bb7f8a0346df7c247c2da94f8d82afb669057cb05dd9cefffafb680826544d6ac')
2022-02-11 12:41:05 +01:00
prepare() {
2022-11-15 17:29:49 +01:00
cd "${_pkgname}-${pkgver}"
2022-02-11 12:41:05 +01:00
2022-11-15 17:29:49 +01:00
patch -Np0 -i "${srcdir}/usrbin.patch"
2022-02-11 12:41:05 +01:00
}
package() {
2022-11-15 17:29:49 +01:00
cd "${_pkgname}-${pkgver}"
2022-02-11 12:41:05 +01:00
2022-11-15 17:29:49 +01:00
make DESTDIR="${pkgdir}" install
2022-02-11 12:41:05 +01:00
}