2022-12-04 08:00:07 +01:00
|
|
|
# Maintainer: Manuel Hüsers <aur@huesers.de>
|
|
|
|
|
|
|
|
pkgname=ntfs2btrfs
|
2023-05-01 23:23:32 +02:00
|
|
|
pkgver=20230501
|
2022-12-04 08:00:07 +01:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="In-place conversion of Microsoft's NTFS filesystem to the open-source filesystem Btrfs"
|
|
|
|
arch=('x86_64')
|
2023-05-01 23:23:32 +02:00
|
|
|
url="https://github.com/maharmstone/$pkgname"
|
2022-12-04 08:00:07 +01:00
|
|
|
license=('GPL2')
|
|
|
|
depends=('fmt' 'zlib' 'lzo' 'zstd')
|
|
|
|
makedepends=('cmake' 'pkgconf')
|
2023-05-01 23:23:32 +02:00
|
|
|
source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
|
|
|
|
sha256sums=('15924a22e9d80e4ca28bf5524708dd8f69d840df1e781a659ce953fee7d90730')
|
2022-12-04 08:00:07 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake -B build -S "$pkgname-$pkgver" \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_SBINDIR=bin \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DBUILD_TESTING=OFF
|
|
|
|
|
|
|
|
cmake --build build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
|
|
}
|