# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=!! TODO !!
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.1
pkgrel=1
pkgdesc=" !! TODO !! "
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
groups=()
depends=()
makedepends=('git')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=() # Use relative paths without leading slash
options=()
install=
changelog=
source=("git+${url}.git")
noextract=()
sha256sums=('SKIP') # 'SKIP' for git soruces; Otherwise: autofill using updpkgsums, see https://man.archlinux.org/man/updpkgsums.8.en

build() {
  cd "${_reponame}/pkg/${pkgname}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "${_reponame}/pkg/${pkgname}"

  make DESTDIR="$pkgdir/" install
}
