summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dff817f7d25e1e15ef6a6410350b7b344465b0c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Maintainer: Your Name <youremail@domain.com>
pkgname=random_machine_id
pkgver=1
pkgrel=1
pkgdesc="generate new /etc/machine-id on boot"
arch=(any)
url=""
license=('GPL')
depends=(systemd)

package() {
  install -Dm755 "../$pkgname.sh" "$pkgdir/usr/bin/$pkgname.sh"
  install -Dm0644 "../$pkgname.service" "$pkgdir/etc/systemd/system/$pkgname.service" 

  echo "enable service via #systemctl enable --now random_machine_id.service"
}