summaryrefslogtreecommitdiff
path: root/pambase-no-systemd-home/PKGBUILD
blob: 073d75f32cc5394d8b71d263b65c4316dea18e5c (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
30
31
32
# Maintainer: Erich Eckner <arch at eckner dot net>

arch=('any')
pkgname=pambase-no-systemd-home
pkgver=20221020
pkgrel=1

source=("http://ftp.gwdg.de/pub/linux/archlinux/core/os/x86_64/pambase-$pkgver-${pkgrel%.*}-any.pkg.tar.zst" system-auth.patch)
sha512sums=('3141e4c4d68befad53455b46a3dd7f74096b0d7b39429155d5f4bf397458aa101708cbf654753c32a9af0c4e448838bc534618e1660763164f46d9a1059e731c'
            '1577816a179dd7c5e460cf673022a5cc7bb3ffadcbbb6b00e2452587e39a8b184692e4517c4d43018a6e28d185397a2adcf0aed3744f773d77e41e37871875f8')
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"'
      ;;
      backup)
        backup+=("$value")
      ;;
    esac
  done < "$srcdir/.PKGINFO"
}