add arch pkgbuild for makepkg

This commit is contained in:
komeil Parseh 2022-04-11 00:11:41 +04:30
parent f558b2cd73
commit f9fc0f6e6e
No known key found for this signature in database
GPG key ID: 1928AF673B1C4255

24
PKGBUILD Normal file
View file

@ -0,0 +1,24 @@
# Maintainer: Komeil Parseh <ahmdparsh129@gmail.com>
pkgname=parch-os-wallpapers
pkgver=0.0.1
pkgrel=1
pkgdesc='parch-os wallpapers'
arch=("any")
url="https://github.com/parch-os/artwork"
license=("BSD-3-Clause")
source=("git+https://github.com/parch-os/artwork")
provides=("${pkgname%}")
conflict=("${pkgname%}")
md5sums=('SKIP')
package() {
cd "$srcdir/artwork/Wallpaper"
install -d "${pkgdir}/usr/share/wallpapers/${pkgname}/"
install -m644 */*.png "${pkgdir}/usr/share/wallpapers/${pkgname}/"
# License
install -d "${pkgdir}/usr/share/licenses/${pkgname}/"
install -m511 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
}