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.5.31
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=('ac80d66468b3fb19684ea6bfefa8d2b3d91f256a381248fb8a7eeb8c137947c3cfd2231a66acfc357dd69715f46605efa3f72d42bd583998ce3d937d67408187'
'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
}