aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authormithe24 <mithe24@student.sdu.dk>2025-10-10 15:19:04 +0200
committermithe24 <mithe24@student.sdu.dk>2025-10-29 13:49:57 +0100
commitd6707d11d58a88277016786a29dcd6a471f56f6f (patch)
tree01da21b4fbbffe152dd28ecd01c735448e18b510 /PKGBUILD
parent36ed8ce55da6467986547c8612598f08e21f3154 (diff)
downloadsorter-d6707d11d58a88277016786a29dcd6a471f56f6f.tar.gz
sorter-d6707d11d58a88277016786a29dcd6a471f56f6f.zip
build(Deploy): Added `deploy` target for archiving program in a `.tar.gz`
`make deploy` compresses and adds executable to a `.tar.gz` archive. It also adds `README.md` to `usr/bin/sorter/doc/'
Diffstat (limited to '')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..0a404f4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Navid Samanghoon <nsama24@student.sdu.dk>
+# Maintainer: Andreas Kapp Lindquist <alind24@student.sdu.dk>
+# Maintainer: Mikkel Thestrup <mithe24@student.sdu.dk>
+
+pkgname=sorter
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="A simple x86-64 bit sorter program for sorting a list of coordinates."
+epoch=1
+arch=('x86_64')
+url=""
+license=('MIT')
+depends=()
+provides=('sorter')
+makedepends=('make' 'binutils')
+source=()
+sha256sums=()
+
+build() {
+ cd ..
+ make
+}
+
+package() {
+ cd ..
+ install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
+}