Compare commits
No commits in common. "5632a2ae9b53ebf134610e73d3b6f6e6e97a5bce" and "ce07669a6ed89b63a7eee4b22eed82e6bf6124b0" have entirely different histories.
5632a2ae9b
...
ce07669a6e
13
PKGBUILD
13
PKGBUILD
@ -1,8 +1,7 @@
|
|||||||
pkgname=boring-backup
|
pkgname=boring-backup
|
||||||
_pkgname=boring_backup
|
|
||||||
pkgver=0.1.0
|
pkgver=0.1.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Bash powered backuping tool"
|
pkgdesc="Files and databases backup"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url=https://git.nxhs.cloud/ge/boring_backup
|
url=https://git.nxhs.cloud/ge/boring_backup
|
||||||
license=(GPL3)
|
license=(GPL3)
|
||||||
@ -10,21 +9,17 @@ depends=(bash coreutils)
|
|||||||
makedepends=(git make )
|
makedepends=(git make )
|
||||||
provides=('boring_backup')
|
provides=('boring_backup')
|
||||||
conflicts=('boring_backup')
|
conflicts=('boring_backup')
|
||||||
source=('git+https://git.nxhs.cloud/ge/boring_backup.git')
|
source=('git+https://git.nxhs.cloud/ge/boring_backup')
|
||||||
sha256sums=(SKIP)
|
sha256sums=(SKIP)
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$_pkgname"
|
cd "$srcdir/$pkgname"
|
||||||
make prefix=dist/usr install
|
make prefix=dist/usr install
|
||||||
make prefix=dist/usr path=/usr/share/boring_backup fixpath
|
make prefix=dist/usr path=/usr/share/boring_backup fixpath
|
||||||
}
|
}
|
||||||
package() {
|
package() {
|
||||||
mkdir -p $pkgdir/usr/share/boring_backup/handlers/{sources,targets}
|
|
||||||
cd "$srcdir/$_pkgname"
|
|
||||||
install -Dm755 dist/usr/bin/boring_backup $pkgdir/usr/bin/boring_backup
|
install -Dm755 dist/usr/bin/boring_backup $pkgdir/usr/bin/boring_backup
|
||||||
install -Dm644 dist/usr/share/man/ru/man1/boring_backup.1.gz $pkgdir/usr/share/man/ru/man1/boring_backup.1.gz
|
install -Dm644 dist/usr/share/man/ru/man1/boring_backup.1.gz $pkgdir/usr/share/man/ru/man1/boring_backup.1.gz
|
||||||
install -Dm644 dist/usr/share/bash-completion/completions/boring_backup $pkgdir/usr/share/bash-completion/completions/boring_backup
|
install -Dm644 dist/usr/share/bash-completion/completions/boring_backup $pkgdir/usr/share/bash-completion/completions/boring_backup
|
||||||
install -Dm644 dist/usr/share/doc/boring_backup/boring_backup.1.html $pkgdir/usr/share/doc/boring_backup/boring_backup.1.html
|
install -Dm644 dist/usr/share/doc/boring_backup/boring_backup.1.html $pkgdir/usr/share/doc/boring_backup/boring_backup.1.html
|
||||||
install -Dm644 dist/usr/share/boring_backup/*.sh $pkgdir/usr/share/boring_backup
|
install -Dm644 dist/usr/share/boring_backup/* $pkgdir/usr/share/boring_backup
|
||||||
install -Dm644 dist/usr/share/boring_backup/handlers/sources/*.sh $pkgdir/usr/share/boring_backup/handlers/sources
|
|
||||||
install -Dm644 dist/usr/share/boring_backup/handlers/targets/*.sh $pkgdir/usr/share/boring_backup/handlers/targets
|
|
||||||
}
|
}
|
||||||
|
2
control
2
control
@ -6,4 +6,4 @@ Maintainer: ge
|
|||||||
Homepage: https://nixhacks.net/boring_backup/
|
Homepage: https://nixhacks.net/boring_backup/
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: bash, coreutils
|
Depends: bash, coreutils
|
||||||
Description: Bash powered backuping tool
|
Description: Backup files and databases.
|
||||||
|
Loading…
Reference in New Issue
Block a user