Compare commits
4 commits
main
...
packages/n
Author | SHA1 | Date | |
---|---|---|---|
5f52bcf10c | |||
b9cd57b9ae | |||
dca5057ca0 | |||
a532cc245c |
3 changed files with 39 additions and 35 deletions
21
.SRCINFO
21
.SRCINFO
|
@ -1,13 +1,20 @@
|
||||||
pkgbase = ntfs2btrfs-git
|
pkgbase = ntfs2btrfs-git
|
||||||
pkgdesc = Convertion from ntfs to btrfs keeping NT metadata
|
pkgdesc = In-place conversion of Microsoft's NTFS filesystem to the open-source filesystem Btrfs
|
||||||
pkgver = r220.7664363
|
pkgver = 20240115.r0.g1d55788
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
arch = any
|
url = https://github.com/maharmstone/ntfs2btrfs
|
||||||
license = GPL
|
arch = x86_64
|
||||||
|
license = GPL2
|
||||||
|
makedepends = git
|
||||||
makedepends = cmake
|
makedepends = cmake
|
||||||
makedepends = gcc
|
makedepends = pkgconf
|
||||||
depends = fmt
|
depends = fmt
|
||||||
source = git+https://github.com/maharmstone/ntfs2btrfs
|
depends = zlib
|
||||||
md5sums = SKIP
|
depends = lzo
|
||||||
|
depends = zstd
|
||||||
|
provides = ntfs2btrfs
|
||||||
|
conflicts = ntfs2btrfs
|
||||||
|
source = git+https://github.com/maharmstone/ntfs2btrfs.git
|
||||||
|
sha512sums = SKIP
|
||||||
|
|
||||||
pkgname = ntfs2btrfs-git
|
pkgname = ntfs2btrfs-git
|
||||||
|
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,4 +0,0 @@
|
||||||
ntfs2btrfs/
|
|
||||||
pkg/
|
|
||||||
src/
|
|
||||||
*pkg.tar*
|
|
49
PKGBUILD
49
PKGBUILD
|
@ -1,34 +1,35 @@
|
||||||
# Maintainer: N Fytilis <n-fit AT live.com>
|
# Maintainer: Manuel Hüsers <aur@huesers.de>
|
||||||
_pkgbase=ntfs2btrfs
|
# Contributor: N Fytilis <n-fit AT live.com>
|
||||||
pkgname=$_pkgbase-git
|
|
||||||
pkgbase=$_pkgbase-git
|
pkgname=ntfs2btrfs-git
|
||||||
pkgver=r220.7664363
|
pkgver=20240115.r0.g1d55788
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
epoch=
|
pkgdesc="In-place conversion of Microsoft's NTFS filesystem to the open-source filesystem Btrfs"
|
||||||
pkgdesc="Convertion from ntfs to btrfs keeping NT metadata"
|
arch=('x86_64')
|
||||||
arch=(any)
|
url="https://github.com/maharmstone/${pkgname%-git}"
|
||||||
url=""
|
license=('GPL2')
|
||||||
license=('GPL')
|
depends=('fmt' 'zlib' 'lzo' 'zstd')
|
||||||
depends=(fmt)
|
makedepends=('git' 'cmake' 'pkgconf')
|
||||||
makedepends=(cmake gcc)
|
provides=("${pkgname%-git}")
|
||||||
source=("git+https://github.com/maharmstone/ntfs2btrfs")
|
conflicts=("${pkgname%-git}")
|
||||||
md5sums=(SKIP)
|
source=("git+${url}.git")
|
||||||
|
sha512sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$_pkgbase"
|
cd "${pkgname%-git}"
|
||||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/release-//g;s/-/./g'
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_pkgbase"
|
cmake -B build -S "${pkgname%-git}" \
|
||||||
mkdir b || true
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
cd b
|
-DCMAKE_INSTALL_SBINDIR=bin \
|
||||||
cmake -DCMAKE_INSTALL_PREFIX='/usr' ..
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
make
|
-DBUILD_TESTING=OFF
|
||||||
|
|
||||||
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_pkgbase/b"
|
DESTDIR="$pkgdir" cmake --install build
|
||||||
make DESTDIR="$pkgdir/" install
|
|
||||||
mv $pkgdir/usr/sbin $pkgdir/usr/bin
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue