pkgver remove tabs
This commit is contained in:
parent
ba5449332d
commit
e787c7fc8b
2 changed files with 14 additions and 9 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = ntfs2btrfs-git
|
pkgbase = ntfs2btrfs-git
|
||||||
pkgdesc = Convertion from ntfs to btrfs keeping NT metadata
|
pkgdesc = Convertion from ntfs to btrfs keeping NT metadata
|
||||||
pkgver = 1
|
pkgver = r220.7664363
|
||||||
pkgrel = 2
|
pkgrel = 1
|
||||||
arch = any
|
arch = any
|
||||||
license = GPL
|
license = GPL
|
||||||
makedepends = cmake
|
makedepends = cmake
|
||||||
|
|
19
PKGBUILD
19
PKGBUILD
|
@ -2,8 +2,8 @@
|
||||||
_pkgbase=ntfs2btrfs
|
_pkgbase=ntfs2btrfs
|
||||||
pkgname=$_pkgbase-git
|
pkgname=$_pkgbase-git
|
||||||
pkgbase=$_pkgbase-git
|
pkgbase=$_pkgbase-git
|
||||||
pkgver=1
|
pkgver=r220.7664363
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
epoch=
|
epoch=
|
||||||
pkgdesc="Convertion from ntfs to btrfs keeping NT metadata"
|
pkgdesc="Convertion from ntfs to btrfs keeping NT metadata"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
|
@ -14,16 +14,21 @@ makedepends=(cmake gcc)
|
||||||
source=("git+https://github.com/maharmstone/ntfs2btrfs")
|
source=("git+https://github.com/maharmstone/ntfs2btrfs")
|
||||||
md5sums=(SKIP)
|
md5sums=(SKIP)
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "$_pkgbase"
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_pkgbase"
|
cd "$_pkgbase"
|
||||||
mkdir b || true
|
mkdir b || true
|
||||||
cd b
|
cd b
|
||||||
cmake -DCMAKE_INSTALL_PREFIX='/usr' ..
|
cmake -DCMAKE_INSTALL_PREFIX='/usr' ..
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_pkgbase/b"
|
cd "$_pkgbase/b"
|
||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir/" install
|
||||||
mv $pkgdir/usr/sbin $pkgdir/usr/bin
|
mv $pkgdir/usr/sbin $pkgdir/usr/bin
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue