diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-03-17 12:15:28 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-03-17 12:15:28 +0100 |
commit | 56e4b99f4486898e5ea5d93e1b3ef849df5ac4e1 (patch) | |
tree | 2e7c275b2cabf0bf35e78556906e4068f3621199 | |
parent | f0b4b9058a1631bf2fb4c3d24a3b9dce04acfc7e (diff) | |
download | archinstall-56e4b99f4486898e5ea5d93e1b3ef849df5ac4e1.tar archinstall-56e4b99f4486898e5ea5d93e1b3ef849df5ac4e1.tar.zst archinstall-56e4b99f4486898e5ea5d93e1b3ef849df5ac4e1.zip |
Add PKGBUILD Template from Arch Wiki
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..23a5053 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Your Name <youremail@domain.com> +pkgname=NAME +pkgver=VERSION +pkgrel=1 +pkgdesc="" +arch=() +url="" +license=('GPL') +groups=() +depends=() +makedepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=($pkgname-$pkgver.tar.gz) +noextract=() +md5sums=() #autofill using updpkgsums + +build() { + cd "$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} |