diff options
author | Ehsan G | 2021-10-11 20:02:33 +0330 |
---|---|---|
committer | Ehsan G | 2021-10-11 20:02:33 +0330 |
commit | 7287e7518b63c26216af3effc01d908d3c3c8be2 (patch) | |
tree | ced31539f31403519f202a0da9531ab5d87b4aa2 | |
download | aur-windowtweaks.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e19ddbe9f387 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = windowtweaks + pkgdesc = Simple tool to tweak X windows' decorations, input hints, etc. + pkgver = r4 + pkgrel = 1 + url = https://gist.github.com/AquariusPower/113f4559a4ac8ccb0225a89b9c74c0ea + arch = x86_64 + license = GPL + makedepends = pkgconf + depends = libx11 + provides = windowtweaks + conflicts = windowtweaks + source = https://gist.githubusercontent.com/AquariusPower/113f4559a4ac8ccb0225a89b9c74c0ea/raw/0d89da448b8c5da392c6040c6516aa9cd432b98a/windowtweaks.c + sha256sums = d8b8623880bdc794458486e1492966b302804f475e3434c5723f7568a3808404 + +pkgname = windowtweaks diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..52073d7ac0fa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Ehsan Ghorbannezad <ehsangn at protonmail dot ch> + +_gist_id=113f4559a4ac8ccb0225a89b9c74c0ea +pkgname=windowtweaks +pkgver=r4 +pkgrel=1 +pkgdesc="Simple tool to tweak X windows' decorations, input hints, etc." +url=https://gist.github.com/AquariusPower/$_gist_id +arch=(x86_64) +license=(GPL) +depends=(libx11) +makedepends=(pkgconf) +provides=($pkgname) +conflicts=($pkgname) +source=("https://gist.githubusercontent.com/AquariusPower/$_gist_id/raw/0d89da448b8c5da392c6040c6516aa9cd432b98a/$pkgname.c") +sha256sums=('d8b8623880bdc794458486e1492966b302804f475e3434c5723f7568a3808404') + +build() { + c++ $(pkg-config --cflags --libs x11) -Wall $pkgname.c -o $pkgname +} + +package() { + install -D $pkgname "$pkgdir/usr/bin/$pkgname" +} |