arch/prototype/proto.PKGBUILD

39 lines
926 B
Plaintext
Raw Permalink Normal View History

2021-04-19 21:56:06 +02:00
# Maintainer: Daniel Langbein <daniel@systemli.org>
2021-04-20 10:32:43 +02:00
_pkgname=!! TODO !!
2021-04-26 18:28:17 +02:00
_reponame=arch
2021-04-20 10:32:43 +02:00
pkgname="de-p1st-$_pkgname"
2021-04-19 21:56:06 +02:00
pkgver=0.0.1
pkgrel=1
pkgdesc=" !! TODO !! "
arch=('any')
2021-04-26 18:25:29 +02:00
url="https://codeberg.org/privacy1st/${_reponame}"
2021-04-19 21:56:06 +02:00
license=('MIT')
groups=()
depends=()
2022-04-15 15:43:21 +02:00
depends+=('holo' 'git' 'base') # holo depends on base (otherwise "holo apply" may fail on initial system installation) and git (git-diff)
makedepends=('git') # to fetch source(s) via git
2021-04-19 21:56:06 +02:00
optdepends=()
provides=()
conflicts=()
replaces=()
2021-05-13 17:44:02 +02:00
backup=() # Use relative paths without leading slash
2021-04-19 21:56:06 +02:00
options=()
install=
changelog=
2021-04-20 10:37:57 +02:00
source=("git+${url}.git")
2021-04-19 21:56:06 +02:00
noextract=()
2021-06-13 14:21:26 +02:00
sha256sums=('SKIP') # 'SKIP' for git sources; Otherwise: autofill using updpkgsums, see https://man.archlinux.org/man/updpkgsums.8.en
2021-04-19 21:56:06 +02:00
build() {
2021-04-20 11:17:10 +02:00
cd "${_reponame}/pkg/${pkgname}"
2021-04-19 21:56:06 +02:00
./configure --prefix=/usr
make
}
package() {
2021-04-20 11:17:10 +02:00
cd "${_reponame}/pkg/${pkgname}"
2021-04-19 21:56:06 +02:00
make DESTDIR="$pkgdir/" install
2021-04-20 10:32:43 +02:00
}