summaryrefslogtreecommitdiff
path: root/pambase-no-systemd-home/PKGBUILD
blob: 4189940df462ef4bdffef73f326899009f38efbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Erich Eckner <arch at eckner dot net>

arch=('any')
pkgname=pambase-no-systemd-home
pkgver=20230918
pkgrel=2

source=("http://ftp.gwdg.de/pub/linux/archlinux/core/os/x86_64/pambase-$pkgver-${pkgrel%.*}-any.pkg.tar.zst" system-auth.patch)
sha256sums=('1cdb46ea999313aa3c17dc571ecbc4a3125c4021a9139bb36994c9eb287056b3'
            'cb5bf16f32ad1557412cc2399bb12108d731c9a10b07bb6891fef3aca1484219')
provides=("pambase=$pkgver-${pkgrel%.*}")
conflicts=('pambase')
pkgdesc='bla'
url='example.com'

package() {
  cd "$srcdir"
  patch -p1 -i 'system-auth.patch'
  mv 'etc' "$pkgdir/"

  while read -r var eq value; do
    [ "x$eq" = 'x=' ] || continue
    case "$var" in
      pkgdesc|url|license)
        eval "$var"'="$value"'
      ;;
    esac
  done < "$srcdir/.PKGINFO"
}