diff options
author | Josh Klar | 2019-06-20 19:18:36 -0700 |
---|---|---|
committer | Josh Klar | 2019-06-20 19:18:36 -0700 |
commit | d6f2308cee65cf0343ce96f9b3aec55b179d03bc (patch) | |
tree | 9b8b7a7388c6c25b46b9cab556c7b70c4009b35e | |
download | aur-d6f2308cee65cf0343ce96f9b3aec55b179d03bc.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0e3dce8572e9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = wlrobs-hg + pkgdesc = An obs-studio plugin that allows you to screen capture on wlroots based wayland compositors + pkgver = r12.58dab620cca0 + pkgrel = 1 + url = https://hg.sr.ht/~scoopta/wlrobs + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = wayland + makedepends = mercurial + depends = obs-studio + depends = wlroots + provides = wlrobs + conflicts = wlrobs + source = hg+https://hg.sr.ht/~scoopta/wlrobs + md5sums = SKIP + +pkgname = wlrobs-hg + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3ebb27875dca --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: klardotsh <josh@klar.sh> +_pkgname=wlrobs +pkgname=${_pkgname}-hg +pkgver=r12.58dab620cca0 +pkgrel=1 +pkgdesc="An obs-studio plugin that allows you to screen capture on wlroots based wayland compositors" +arch=('i686' 'x86_64') +provides=('wlrobs') +conflicts=(wlrobs) +url="https://hg.sr.ht/~scoopta/wlrobs" +license=('GPL3') +depends=('obs-studio' 'wlroots') +makedepends=(wayland mercurial) +source=("hg+https://hg.sr.ht/~scoopta/${_pkgname}") +md5sums=('SKIP') +_hgrepo="hg" + +pkgver() { + cd "${_pkgname}" + printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)" +} + +build() { + cd ${srcdir}/${_pkgname}/Release + make || return 1 +} + +package() { + mkdir -p ${pkgdir}/usr/lib/obs-plugins + install -D -m 0644 ${srcdir}/${_pkgname}/Release/libwlrobs.so \ + ${pkgdir}/usr/lib/obs-plugins/wlrobs.so +} + + |