diff options
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 34 |
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..17c5390818c8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = instawm-schemas + pkgdesc = addons for instamenu + pkgver = 2021.04.10 + pkgrel = 1 + url = https://github.com/The-Repo-Club/instawm-schemas + arch = any + groups = therepoclub + license = CC BY-NC-SA 4.0 + makedepends = gobject-introspection + makedepends = git + makedepends = meson + depends = glib2 + depends = dconf + provides = instamenu-schemas=2021.04.10 + source = instawm-schemas-2021.04.10.tar.gz::https://github.com/The-Repo-Club/instawm-schemas/archive/2021.04.10.tar.gz + sha256sums = SKIP + +pkgname = instawm-schemas + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..28bbebc353ec --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +src/* +pkg/* +*.sh diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..812be7e6b72f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: TheRepoClub <TheRepoClub@github.com> +# Contributor: TheRepoClub <TheRepoClub@github.com> +pkgname=instawm-schemas +pkgver=2021.04.10 +pkgrel=1 +pkgdesc="addons for instamenu" +url="https://github.com/The-Repo-Club/$pkgname" +arch=('any') +groups=('therepoclub') +license=('CC BY-NC-SA 4.0') +provides=("instamenu-schemas=$pkgver") +depends=('glib2' 'dconf') +makedepends=('gobject-introspection' 'git' 'meson') +source=("${pkgname}-$pkgver.tar.gz::${url}/archive/$pkgver.tar.gz") +sha256sums=('SKIP') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" +} + +build() { + arch-meson $srcdir/$pkgname-$pkgver build + ninja -C build +} + +check() { + meson test -C build +} + +package() { + mkdir -p $pkgdir/usr/bin + cp -a $srcdir/$pkgname-$pkgver/$pkgname $pkgdir/usr/bin/$pkgname + DESTDIR="$pkgdir" meson install -C build +} |