arch/prototype/PKGBUILD

38 lines
678 B
Bash
Raw 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-20 11:17:10 +02:00
_reponame=arch-pkg
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-20 11:17:10 +02:00
url="https://git.privacy1st.de/langfingaz/${_reponame}"
2021-04-19 21:56:06 +02:00
license=('MIT')
groups=()
depends=()
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
2021-04-20 10:37:57 +02:00
source=("git+${url}.git")
2021-04-19 21:56:06 +02:00
noextract=()
sha256sums=() # 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
}