diff options
author | David Runge | 2017-10-25 03:43:04 +0200 |
---|---|---|
committer | David Runge | 2017-10-25 03:43:04 +0200 |
commit | 4a111533da1ec8644acf1f094eff0e2fe0730a8c (patch) | |
tree | 971f40f3139ddcdf0c3db2bafafb69f310610cd8 /PKGBUILD | |
parent | a49209504fe85d9eaf198cba34953adca351f288 (diff) | |
download | aur-uenv-git.tar.gz |
PKGBUILD: Removing empty fields. Removing useless linebreaks. Fixing install use.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 74 |
1 files changed, 31 insertions, 43 deletions
@@ -1,71 +1,59 @@ # Maintainer: David Runge <dave@sleepmap.de> pkgname=uenv-git -pkgver=0.8.4.r1.g6aa1a65 -_basename=uenv +pkgver=0.9.r0.gf7aeb07 +_pkg=uenv pkgrel=1 pkgdesc="Useful scripts, systemd timer/service units and their configuration" arch=('any') url="https://sleepmap.de/software/uenv" license=('GPL3') -groups=() -depends=() makedepends=('git') optdepends=( - 'arch-audit: For updating MOTD with security info'\ - 'autossh: For autotunnel (SSH tunnel)'\ - 'compton: For compton user service'\ - 'conky: For conky user service'\ - 'cpupower: For cpupower settings on linux-rt'\ - 'glances: For monitoring user service (running in separate tmux environment)'\ - 'htop: For monitoring user service (running in separate tmux environment)'\ - 'irssi: For irssi in a separate tmux environment'\ - 'jack2: For profile based JACK user service'\ - 'linux-rt: For cpupower and JACK services'\ - 'mpd: For mpd user service connecting to server profiles'\ - 'openssh: For ssh-agent as systemd user service'\ - 'python-lolcat: For colorful output of MOTD'\ - 'rtorrent: For rtorrent user and system service'\ - 'tmux: For monitoring, rtorrent and tmux user services'\ + 'arch-audit: For updating MOTD with security info' + 'autossh: For autotunnel (SSH tunnel)' + 'compton: For compton user service' + 'conky: For conky user service' + 'cpupower: For cpupower settings on linux-rt' + 'glances: For monitoring user service (running in separate tmux environment)' + 'htop: For monitoring user service (running in separate tmux environment)' + 'irssi: For irssi in a separate tmux environment' + 'jack2: For profile based JACK user service' + 'linux-rt: For cpupower and JACK services' + 'mpd: For mpd user service connecting to server profiles' + 'openssh: For ssh-agent as systemd user service' + 'python-lolcat: For colorful output of MOTD' + 'rtorrent: For rtorrent user and system service' + 'tmux: For monitoring, rtorrent and tmux user services' 'weechat: For weechat in a separate tmux environment' ) provides=('uenv') conflicts=('uenv') -replaces=() backup=( - 'etc/jack/fw1'\ - 'etc/conf.d/postpone-screensaver'\ - 'etc/default/cpupower-rt'\ + 'etc/jack/fw1' + 'etc/conf.d/postpone-screensaver' + 'etc/default/cpupower-rt' 'etc/default/rtorrent@.conf' ) -options=() -install= -source=("${_basename}::git://sleepmap.de/software/uenv.git") -noextract=() -md5sums=('SKIP') +source=("git+https://git.sleepmap.de/software/uenv.git") +sha512sums=('SKIP') pkgver() { - cd "$srcdir/$_basename" + cd "${srcdir}/${_pkg}" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { - cd "$srcdir/$_basename" - install -d ${pkgdir}/usr/lib/systemd/scripts/ - install -Dm 755 scripts/* ${pkgdir}/usr/lib/systemd/scripts/ - install -d ${pkgdir}/usr/lib/systemd/system/ - install -Dm 644 system/* ${pkgdir}/usr/lib/systemd/system/ - install -d ${pkgdir}/usr/lib/systemd/user/ - install -Dm 644 user/* ${pkgdir}/usr/lib/systemd/user/ + cd "${srcdir}/${_pkg}" + install -t "${pkgdir}/usr/lib/systemd/scripts/" -Dm0755 scripts/* + install -t "${pkgdir}/usr/lib/systemd/system/" -Dm0644 system/* + install -t "${pkgdir}/usr/lib/systemd/user/" -Dm0644 user/* + install -t "${pkgdir}/etc/jack/" -Dm0644 config/jack/* + install -Dm 644 config/plot.conf "${pkgdir}/etc/systemd-analyze-plot/plot.conf" install -Dm 644 config/cpupower-rt ${pkgdir}/etc/default/cpupower-rt - install -d ${pkgdir}/etc/jack/ - install -Dm 644 config/jack/* ${pkgdir}/etc/jack/ - install -d ${pkgdir}/etc/systemd-analyze-plot/ - install -Dm 644 config/plot.conf ${pkgdir}/etc/systemd-analyze-plot/plot.conf install -Dm 644 config/postpone-screensaver ${pkgdir}/etc/conf.d/postpone-screensaver install -Dm 644 config/rtorrent@.conf ${pkgdir}/etc/default/rtorrent@.conf install -Dm 644 config/autotunnel/example.conf ${pkgdir}/etc/autotunnel/example.conf - install -Dm 644 README.rst ${pkgdir}/usr/share/doc/${_basename}/README.rst - install -Dm 644 NEWS ${pkgdir}/usr/share/doc/${_basename}/NEWS + install -Dm 644 README.rst ${pkgdir}/usr/share/doc/${_pkg}/README.rst + install -Dm 644 NEWS ${pkgdir}/usr/share/doc/${_pkg}/NEWS } - # vim:set ts=2 sw=2 et: |