2020-12-21 13:35:42 +01:00
|
|
|
# Maintainer: N Fytilis <n-fit AT live.com>
|
2020-12-21 13:40:55 +01:00
|
|
|
_pkgbase=ntfs2btrfs
|
|
|
|
pkgname=$_pkgbase-git
|
|
|
|
pkgbase=$_pkgbase-git
|
2020-12-21 13:16:05 +01:00
|
|
|
pkgver=1
|
2021-09-25 10:08:44 +02:00
|
|
|
pkgrel=2
|
2020-12-21 13:16:05 +01:00
|
|
|
epoch=
|
|
|
|
pkgdesc="Convertion from ntfs to btrfs keeping NT metadata"
|
|
|
|
arch=(any)
|
|
|
|
url=""
|
|
|
|
license=('GPL')
|
|
|
|
depends=(fmt)
|
|
|
|
makedepends=(cmake gcc)
|
|
|
|
source=("git+https://github.com/maharmstone/ntfs2btrfs")
|
|
|
|
md5sums=(SKIP)
|
|
|
|
|
|
|
|
build() {
|
2020-12-21 13:40:55 +01:00
|
|
|
cd "$_pkgbase"
|
2020-12-21 13:16:05 +01:00
|
|
|
mkdir b || true
|
|
|
|
cd b
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX='/usr' ..
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-12-21 13:40:55 +01:00
|
|
|
cd "$_pkgbase/b"
|
2020-12-21 13:16:05 +01:00
|
|
|
make DESTDIR="$pkgdir/" install
|
2021-09-25 10:08:44 +02:00
|
|
|
mv $pkgdir/usr/sbin $pkgdir/usr/bin
|
2020-12-21 13:16:05 +01:00
|
|
|
}
|