summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorboom-roasted2021-02-20 19:15:49 -0700
committerboom-roasted2021-02-20 19:15:49 -0700
commitc0509fd4426ceaeda466b5df9d19d8021d721cdc (patch)
tree85bc114de5ed9139909cdf6156e4b60275c8048b
downloadaur-c0509fd4426ceaeda466b5df9d19d8021d721cdc.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD22
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4c16006de80
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = zoomx
+ pkgdesc = Screen magnifying zoom utility for X11
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://github.com/boom-roasted/zoomx
+ arch = any
+ license = MIT
+ depends = glibc
+ depends = libx11
+ source = zoomx-0.0.1.tar.gz::https://github.com/boom-roasted/zoomx/archive/v0.0.1.tar.gz
+ sha256sums = 9c3e99771f264bbc6c498ef3aefff58427e5cdc43a40a840e29c8aa532ec6577
+
+pkgname = zoomx
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b5c27bc0a8c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: xklo <xklo protonmail ch>
+pkgname=zoomx
+pkgver=0.0.1
+pkgrel=1
+pkgdesc="Screen magnifying zoom utility for X11"
+arch=('any')
+url="https://github.com/boom-roasted/zoomx"
+license=('MIT')
+depends=(glibc libx11)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/boom-roasted/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('6166582f64da65dd6f12c2b371b7566c095a1ad21470a50ffb783acf43cfbab9')
+
+build() {
+ cd "$pkgname-$pkgver"
+ gcc -g zoomx.c -L/usr/X11R6/lib -lX11 -o zoomx
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm751 zoomx "$pkgdir/usr/bin/zoomx"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}