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.27
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=('34cd69db95fc02713b7811ec18728dcd559cd439c2ebb750a857697d98224eeee924298909c3623f08ae96346d82ab1a8181154c1c31890144fa6a336e997420'
'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
}