mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
Initial commit
- Tested in clean chroot
This commit is contained in:
commit
f279fa02b3
2 changed files with 51 additions and 0 deletions
17
.SRCINFO
Normal file
17
.SRCINFO
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
pkgbase = btrsync
|
||||
pkgdesc = btrfs replication made easy
|
||||
pkgver = 0.3
|
||||
pkgrel = 1
|
||||
url = https://github.com/andreittr/btrsync
|
||||
arch = any
|
||||
license = GPL-3.0-or-later
|
||||
makedepends = git
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-setuptools
|
||||
makedepends = python-wheel
|
||||
depends = python>=3.9
|
||||
source = btrsync-0.3::git+https://github.com/andreittr/btrsync.git#tag=v0.3
|
||||
b2sums = f18451c5f562107c8d576ad51e367d93404754a5d4fd01f1a4ec47e4d8978779cb3bbbb41a27b77e2c398088adf2f622f62fc12aa0750a216c7712d0be81f287
|
||||
|
||||
pkgname = btrsync
|
||||
34
PKGBUILD
Normal file
34
PKGBUILD
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Maintainer: Manuel Wiesinger <m {you know what belongs here} mmap {and here} at>
|
||||
|
||||
pkgname=btrsync
|
||||
pkgver=0.3
|
||||
pkgrel=1
|
||||
pkgdesc="btrfs replication made easy"
|
||||
arch=('any')
|
||||
url="https://github.com/andreittr/btrsync"
|
||||
license=('GPL-3.0-or-later')
|
||||
depends=('python>=3.9')
|
||||
makedepends=(
|
||||
'git'
|
||||
'python-build'
|
||||
'python-installer'
|
||||
'python-setuptools'
|
||||
'python-wheel'
|
||||
)
|
||||
source=("$pkgname-$pkgver::git+${url}.git#tag=v${pkgver}")
|
||||
b2sums=('f18451c5f562107c8d576ad51e367d93404754a5d4fd01f1a4ec47e4d8978779cb3bbbb41a27b77e2c398088adf2f622f62fc12aa0750a216c7712d0be81f287')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $pkgname-$pkgver
|
||||
python -m unittest
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue