diff options
Diffstat (limited to 'deployments/archlinux/PKGBUILD')
| -rw-r--r-- | deployments/archlinux/PKGBUILD | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/deployments/archlinux/PKGBUILD b/deployments/archlinux/PKGBUILD deleted file mode 100644 index 3dd3279..0000000 --- a/deployments/archlinux/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# SPDX-FileCopyrightText: © 2020 Grégoire Duchêne <gduchene@awhk.org> -# SPDX-License-Identifier: ISC - -# Maintainer: Grégoire Duchêne <gduchene@awhk.org> - -pkgname=fwdsms -pkgver=0.2.1 -pkgrel=1 -arch=(x86_64) -url=https://github.com/gduchene/fwdsms -license=(custom:ISC) -backup=(etc/${pkgname}.yaml) -makedepends=(go) -source=(git://github.com/gduchene/fwdsms.git#tag=v${pkgver}) -sha256sums=(SKIP) - -build() { - cd ${pkgname} - go build ./cmd/${pkgname} -} - -package() { - cd ${pkgname} - install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} - install -Dm644 configs/example.yaml ${pkgdir}/etc/${pkgname}.yaml - install -Dm644 deployments/systemd/${pkgname}.service ${pkgdir}/usr/lib/systemd/system/${pkgname}.service - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE -} |
