2023-04-19 22:50:00 +02:00
|
|
|
# Maintainer: Manuel Hüsers <aur@huesers.de>
|
|
|
|
# Contributor: N Fytilis <n-fit AT live.com>
|
|
|
|
|
|
|
|
pkgname=ntfs2btrfs-git
|
2024-04-11 19:31:33 +02:00
|
|
|
pkgver=20240115.r0.g1d55788
|
2021-10-03 13:46:21 +02:00
|
|
|
pkgrel=1
|
2023-04-19 22:50:00 +02:00
|
|
|
pkgdesc="In-place conversion of Microsoft's NTFS filesystem to the open-source filesystem Btrfs"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://github.com/maharmstone/${pkgname%-git}"
|
2024-07-21 07:32:40 +02:00
|
|
|
license=('GPL-2.0-or-later')
|
2023-04-19 22:50:00 +02:00
|
|
|
depends=('fmt' 'zlib' 'lzo' 'zstd')
|
|
|
|
makedepends=('git' 'cmake' 'pkgconf')
|
|
|
|
provides=("${pkgname%-git}")
|
|
|
|
conflicts=("${pkgname%-git}")
|
|
|
|
source=("git+${url}.git")
|
2023-12-03 20:31:07 +01:00
|
|
|
sha512sums=('SKIP')
|
2020-12-21 13:16:05 +01:00
|
|
|
|
2021-10-03 13:46:21 +02:00
|
|
|
pkgver() {
|
2023-04-19 22:50:00 +02:00
|
|
|
cd "${pkgname%-git}"
|
|
|
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/release-//g;s/-/./g'
|
2021-10-03 13:46:21 +02:00
|
|
|
}
|
|
|
|
|
2020-12-21 13:16:05 +01:00
|
|
|
build() {
|
2023-04-19 22:50:00 +02:00
|
|
|
cmake -B build -S "${pkgname%-git}" \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_SBINDIR=bin \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DBUILD_TESTING=OFF
|
|
|
|
|
|
|
|
cmake --build build
|
2020-12-21 13:16:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-04-19 22:50:00 +02:00
|
|
|
DESTDIR="$pkgdir" cmake --install build
|
2020-12-21 13:16:05 +01:00
|
|
|
}
|