summaryrefslogtreecommitdiff
path: root/fastbangs-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'fastbangs-git/PKGBUILD')
-rw-r--r--fastbangs-git/PKGBUILD39
1 files changed, 0 insertions, 39 deletions
diff --git a/fastbangs-git/PKGBUILD b/fastbangs-git/PKGBUILD
deleted file mode 100644
index a5a794b..0000000
--- a/fastbangs-git/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# Maintainer: metamuffin <metamuffin@disroot.org>
-
-pkgname=fastbangs-git
-pkgver=r91.0ece6f0
-pkgrel=4
-pkgdesc="A search engine redirect service"
-arch=()
-url="https://codeberg.org/lialenck/fastbangs"
-license=('AGPL-3.0-only')
-makedepends=('esbuild' 'sassc' 'stack-static' 'make')
-backup=('etc/fastbangs.yaml')
-install='fastbangs.install'
-source=("git+https://codeberg.org/lialenck/fastbangs"
- "fastbangs.service"
- "sysusers.conf")
-sha256sums=("SKIP"
- "SKIP"
- "SKIP")
-
-pkgver() {
- cd "fastbangs"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-prepare() {
- cd "fastbangs"
- make frontend/fuzzysort.js
- stack setup
-}
-build() {
- cd "fastbangs"
- make
-}
-package() {
- install -Dm755 fastbangs/deploy/fastbangs "$pkgdir/usr/bin/fastbangs"
- install -Dm644 fastbangs/LICENSE.agpl "$pkgdir/usr/share/licenses/fastbangs/COPYING"
- install -Dm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/fastbangs.conf"
- install -Dm644 fastbangs.service "$pkgdir/usr/lib/systemd/system/fastbangs.service"
- install -Dm644 fastbangs/fastbangs.yaml "$pkgdir/etc/fastbangs.yaml"
-}