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.2
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=('197d4d17b099c4d2136020f102365d9f6c95468a8006b98c1e16214d8f2c6f8c6a42f513048b50081d401e0d96516c0a98e3cdf055f64685ba7f77e1a813e436'
'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
}