PKGBUILDs/alarm/macspoof/PKGBUILD

23 lines
628 B
Bash

# Maintainer Jason Plum <jplum@archlinuxarm.org>
pkgname=macspoof
pkgdesc="MAC Spoofing service"
pkgver=0.1
pkgrel=1
arch=('any')
url="https://wiki.archlinux.org/index.php/MAC_Address_Spoofing#Systemd_unit"
license=('GPL2')
source=('macspoof@.service'
'macspoof.conf.d')
md5sums=('c830b7ee6425390005189a2a01bb84eb'
'b50f74e4b71d6fda819feb89ccb62bc3')
backup=('etc/conf.d/macspoof')
install=macspoof.install
package() {
install -m644 -D "${srcdir}/macspoof.conf.d" "${pkgdir}/etc/conf.d/macspoof"
install -m644 -D "${srcdir}/macspoof@.service" "${pkgdir}/usr/lib/systemd/system/macspoof@.service"
}