diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..35f41f044e20 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = workspaces-git + pkgdesc = Configure and quickly launch all you need to work on a project + pkgver = 3.1.0.r0.gd3d69be + pkgrel = 1 + url = https://github.com/DevAlien/workspaces + arch = x86_64 + license = GPL3 + makedepends = git + makedepends = meson + makedepends = vala + depends = granite + provides = workspaces + conflicts = workspaces + source = git+https://github.com/DevAlien/workspaces.git + sha256sums = SKIP + +pkgname = workspaces-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..371285736560 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz> + +_pkgname='workspaces' +pkgname="${_pkgname}-git" +pkgver=3.1.0.r0.gd3d69be +pkgrel=1 +pkgdesc='Configure and quickly launch all you need to work on a project' +arch=('x86_64') +url='https://github.com/DevAlien/workspaces' +license=('GPL3') +depends=('granite') +makedepends=('git' 'meson' 'vala') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source=("git+${url}.git") +sha256sums=('SKIP') + +pkgver() { + git -C "${_pkgname}" describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + arch-meson "${_pkgname}" build + meson compile -C build +} + +package() { + DESTDIR="${pkgdir}" meson install -C build + install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${_pkgname}/README.md" +} + +# vim: ts=2 sw=2 et: |