diff options
author | Fronkles McFranko | 2020-10-19 22:22:46 -0700 |
---|---|---|
committer | Fronkles McFranko | 2020-10-19 22:22:46 -0700 |
commit | 7ab225dde2304b34bcdb1db6994db30d0a9a9a5f (patch) | |
tree | 806a6b6fbf88b1792601f11f4e62a0c29ac2cda2 /PKGBUILD | |
download | aur-7ab225dde2304b34bcdb1db6994db30d0a9a9a5f.tar.gz |
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9a8aafeb4b7f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Your Name <youremail@domain.com> +pkgbase=afetch-git +pkgname=afetch +pkgver=1 +pkgrel=1 +epoch= +pkgdesc="Fast and simple system info written in C, that can be configured at compile time by editing the config.h file" +arch=("any") +url="https://github.com/13-CF/afetch" +license=('GPL') +groups=() +depends=() +makedepends=() +checkdepends=() +optdepends=() +provides=(afetch) +conflicts=(afetch) +replaces=() +backup=() +options=() +install= +changelog= +source=("git+https://github.com/13-CF/afetch" + "Makefile.patch") +noextract=() +md5sums=("SKIP" "SKIP") + +prepare() { + patch "$pkgname/Makefile" -i Makefile.patch +} + +build() { + cd "$pkgname" + make all +} + +package() { + cd "$pkgname" + make DESTDIR="$pkgdir/" PREFIX="/usr/" install +} |