33 lines
975 B
Bash
33 lines
975 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=xwallpaper
|
|
pkgver=0.7.0
|
|
pkgrel=2
|
|
pkgdesc="Wallpaper setting utility for X"
|
|
url='https://github.com/stoeckmann/xwallpaper'
|
|
arch=('i686' 'x86_64')
|
|
license=('ISC')
|
|
depends=('pixman' 'libpng' 'libxpm' 'xcb-util' 'xcb-util-image' 'libjpeg-turbo' 'libseccomp')
|
|
source=("https://github.com/stoeckmann/xwallpaper/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
|
sha512sums=('b8b01a1c0d5768beba9e57c376b89f5d777360ba27edd20d0fab0bb018f25a11cb3bcd1aa36099dd1bd43f689d470aa07c0c0a52ab782ea0cf12ba13ba4cc818')
|
|
|
|
prepare() {
|
|
cd ${pkgname}-${pkgver}
|
|
autoreconf -fiv
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure \
|
|
--prefix=/usr \
|
|
--with-zshcompletiondir=/usr/share/zsh/site-functions
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
|
|
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
}
|