--- PKGBUILD.old 2020-02-25 23:38:18.000000000 +0100 +++ PKGBUILD 2020-02-25 23:44:16.658047919 +0100 @@ -7,20 +7,20 @@ arch=('x86_64') url='https://github.com/Hummer12007/brightnessctl' license=('MIT') +depends=('systemd-libs') source=( "${pkgname}-${pkgver}.tar.gz::https://github.com/Hummer12007/brightnessctl/archive/${pkgver}.tar.gz" ) sha512sums=('41ac86357b3b5a3d54a043140a6bdb1fb68d5080a16e86692059ad58f4b9134a8532432a3f664c70c665a4ad73ea8a94cc9b88fa84abc28f0356b8b397aaebc7') -install='brightnessctl.install' build() { cd "${pkgname}-${pkgver}" - make + make ENABLE_SYSTEMD=1 } package() { cd "${pkgname}-${pkgver}" - make UDEVDIR="/usr/lib/udev/rules.d" INSTALL_UDEV_RULES=1 DESTDIR="$pkgdir" install + make ENABLE_SYSTEMD=1 DESTDIR="$pkgdir" install mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}" install -m 0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"