diff options
author | Christian Münch | 2020-01-26 14:05:08 +0100 |
---|---|---|
committer | Christian Münch | 2020-01-26 14:24:31 +0100 |
commit | eba2f92d196a498579361d6b6f4c9b3c66eed1a6 (patch) | |
tree | 220942c600ad20c8a4baf8ccb843cd2d33ac0064 /PKGBUILD | |
download | aur-eba2f92d196a498579361d6b6f4c9b3c66eed1a6.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4871b2690c71 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Christian Münch <christian@muench-worms.de> +pkgname=pacman-auto-update +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Install a systemd service triggered by a timer to run automatic pacman package updates" +arch=('i686' 'x86_64') +url="https://github.com/cmuench/pacman-auto-update.git" +license=('GPL') +install=${pkgname}.install +changelog= +depends=(systemd) +source=("${pkgname}.service" + "${pkgname}.timer") +md5sums=('8813d126331d900ab7368bcab156b56d' + 'e68d3424ad02a8a78de4fae56945f09f') + +#build() { +# mkdir -p usr/lib/systemd/system +# mv ${pkgname}.service usr/lib/systemd/system +# mv ${pkgname}.timer usr/lib/systemd/system +#} + +package() { + install -d -m755 "$pkgdir/usr/lib/systemd/system" + install -m644 ${pkgname}.service "$pkgdir/usr/lib/systemd/system/" + install -m644 ${pkgname}.timer "$pkgdir/usr/lib/systemd/system/" + #ln -s ${pkgname}.service ${pkgdir}/usr/lib/systemd/system/${pkgname}.service + #ln -s ${pkgname}.timer ${pkgdir}/usr/lib/systemd/system/${pkgname}.timer +} |