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.1
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=('0ebcfe7bd749998e4fc636333213e3ac6709eb8e06b94554edaafc36913da7abf3f95c73a7530b9b7e2e682f29d9e13f0d78f8014818f4a307760194694007ce'
'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
}