Added PKBUILD to work with makepkg with Arch
This commit is contained in:
parent
61f995dbac
commit
913b1181e9
|
@ -0,0 +1,35 @@
|
||||||
|
# Maintainer: Maximilian Käfer <maxi@kske.dev>
|
||||||
|
pkgname=paperchanger
|
||||||
|
pkgver=1.0.r2.c586c0d
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="CLI to help change the wallpaper in a more comfortable way."
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://git.kske.dev/DieGurke/paperchanger"
|
||||||
|
license=('GPL')
|
||||||
|
groups=()
|
||||||
|
depends=('binutils' 'xwallpaper')
|
||||||
|
makedepends=()
|
||||||
|
checkdepends=()
|
||||||
|
optdepends=('bash')
|
||||||
|
provides=(paperchanger)
|
||||||
|
conflicts=()
|
||||||
|
replaces=()
|
||||||
|
backup=()
|
||||||
|
options=()
|
||||||
|
source=("git+$url#develop")
|
||||||
|
noextract=()
|
||||||
|
md5sums=('SKIP')
|
||||||
|
validpgpkeys=()
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd ${pkgname}
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname}
|
||||||
|
install -Dm755 paperchanger.conf.sh "${pkgdir}/etc/paperchanger.conf.sh"
|
||||||
|
install -Dm755 current_wallpaper.txt "${pkgdir}/opt/${pkgname}/current_wallpaper.txt"
|
||||||
|
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
||||||
|
install -Dm755 paperchanger.sh "${pkgdir}/usr/bin/paperchanger"
|
||||||
|
}
|
Loading…
Reference in New Issue