26 lines
1014 B
Bash
26 lines
1014 B
Bash
pkgname=boring-backup
|
|
pkgver=0.1.0
|
|
pkgrel=1
|
|
pkgdesc="Files and databases backup"
|
|
arch=(any)
|
|
url=https://git.nxhs.cloud/ge/boring_backup
|
|
license=(GPL3)
|
|
depends=(bash coreutils)
|
|
makedepends=(git make )
|
|
provides=('boring_backup')
|
|
conflicts=('boring_backup')
|
|
source=('git+https://git.nxhs.cloud/ge/boring_backup')
|
|
sha256sums=(SKIP)
|
|
build() {
|
|
cd "$srcdir/$pkgname"
|
|
make prefix=dist/usr install
|
|
make prefix=dist/usr path=/usr/share/boring_backup fixpath
|
|
}
|
|
package() {
|
|
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/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/boring_backup/* $pkgdir/usr/share/boring_backup
|
|
}
|