first commit, xmousepasteblock pkgbuild

This commit is contained in:
notfire 2024-06-09 12:46:47 -04:00
commit 13c1293da8
No known key found for this signature in database
GPG key ID: BA6CF510CC3567EA

View file

@ -0,0 +1,26 @@
# Maintainer: notfire <notfire at posteo dot net>
# based off of https://aur.archlinux.org/packages/xmousepasteblock-git
# **INCLUDES** .service
pkgname=xmousepasteblock
pkgver=1.4
pkgrel=1
pkgdesc="Userspace tool to disable middle mouse button paste in Xorg"
arch=("i686" "x86_64")
url="https://github.com/milaq/XMousePasteBlock"
license=("GPL")
provides=("xmousepasteblock")
depends=("libxi" "libx11" "libev" "libxfixes")
makedepends=("pkgconf")
source=("https://github.com/milaq/XMousePasteBlock/archive/${pkgver}.tar.gz")
sha256sums=("8a66caced0f6fda7bb632046b04e28a83888e29799e18c0507e1e6e623ab7f44")
build() {
cd "XMousePasteBlock-${pkgver}"
make all
}
package() {
cd "XMousePasteBlock-${pkgver}"
make DESTDIR="${pkgdir}/" install
install -Dm644 xmousepasteblock.service "${pkgdir}/usr/lib/systemd/user/xmousepasteblock.service"
}