You are not logged in.
Hi. I just started using Manjaro and trying to build a package for ydotool. This is one of required libs:
# Maintainer: Vladyslav Dalechyn <hotwater438@tutanota.com>
pkgname=libevdevPlus
pkgver=0.1.0
pkgrel=1
pkgdesc="Easy-to-use event device library in C++"
arch=("any")
url="https://github.com/YukiWorkshop/libevdevPlus"
license=("MIT")
depends=("glibc>2.14" "gcc-libs")
makedepends=("cmake")
optdepends=("ydotool: generic command-line automation tool")
source=("https://github.com/YukiWorkshop/libevdevPlus/archive/v${pkgver}.tar.gz")
sha256sums=("2fd229c4321db62c419f9f254baf3d27d9d374ceeb3a795ea4b023f4c3baf908")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cmake ./ -DCMAKE_INSTAL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
}
# Maintainer: Vladyslav Dalechyn <hotwater438@tutanota.com>
pkgname=libuInputPlus
pkgver=0.1.3
pkgrel=1
pkgdesc="An easy-to-use C++ uinput library"
arch=("any")
url="https://github.com/YukiWorkshop/libuInputPlus"
license=("MIT")
depends=("glibc>2.14" "gcc-libs")
makedepends=("cmake")
optdepends=("ydotool: generic command-line automation tool")
source=("https://github.com/YukiWorkshop/libuInputPlus/archive/v${pkgver}.tar.gz")
sha256sums=("5e1ec424ea39df08a7d33ad88edcfc7f348125a308c45f47438f12db0cebc928")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cmake ./ -DCMAKE_INSTAL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
}
and ydotool:
# Maintainer: Vladyslav Dalechyn <hotwater438@tutanota.com>
pkgname=ydotool
pkgver=0.1.8
pkgrel=1
pkgdesc="wayland xdotool replacement"
arch=("any")
url="https://github.com/ReimuNotMoe/ydotool"
license=("MIT")
depends=("boost-libs" "libuInputPlus" "libevdevPlus")
makedepends=("cmake")
source=("https://github.com/ReimuNotMoe/ydotool/archive/v${pkgver}.tar.gz")
sha256sums=("6ebc4ede0a11aa7ced6b52637a4a59cc1528b4c5ed54478d38f0248a40b40a07")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cmake ./ -DCMAKE_INSTAL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
}
Offline