diff options
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | PKGBUILD | 48 |
2 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1c7f9e3378cd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,28 @@ +pkgbase = notion-neg-git + pkgdesc = NotionWM fork with compton, dzen2, rofi, xft fonts support different default cfg + pkgver = 3612 + pkgrel = 1 + url = https://github.com/neg-serg/notion + arch = i686 + arch = x86_64 + license = custom:LGPL + makedepends = git + makedepends = libxrandr + makedepends = rofi + makedepends = dzen2-xft-xpm-xinerama-git + depends = glib2 + depends = gettext + depends = lua + depends = libxext + depends = libsm + optdepends = libxrandr: xrandr support + optdepends = compton: X11 compositing support + provides = libtu + provides = libextl + provides = notion + conflicts = notion + source = notion::git://github.com/neg-serg/notion + md5sums = SKIP + +pkgname = notion-neg-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0a4aac5ab5ab --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Sergey Miroshnichenko <serg.zorg@gmail.com> + +pkgname=notion-neg-git +pkgver=3612 +pkgrel=1 +pkgdesc="NotionWM fork with compton, dzen2, rofi, xft fonts support different default cfg" +url="https://github.com/neg-serg/notion" +arch=('i686' 'x86_64') +license=('custom:LGPL') +depends=('glib2' 'gettext' 'lua' 'libxext' 'libsm') +optdepends=('libxrandr: xrandr support' + 'compton: X11 compositing support') +makedepends=('git' 'libxrandr' 'rofi' 'dzen2-xft-xpm-xinerama-git') +provides=('libtu' 'libextl' 'notion') +conflicts=('notion') + +source=("notion::git://github.com/neg-serg/notion") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/notion" + git rev-list --count HEAD +} + +build() { + cd "${srcdir}/notion" + make +} + +package() { + cd "${srcdir}/notion" + make DESTDIR="${pkgdir}" install + + install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/notion/LICENSE" + mkdir -p "${pkgdir}/usr/share/xsessions" + cat > "${pkgdir}/usr/share/xsessions/notion.desktop" <<EOF +[Desktop Entry] +Name=Notion +Comment=This session logs you into Notion +Exec=notion +TryExec=notion +Icon= +Type=XSession +EOF + for i in "${srcdir}/notion/example_cfg/"*; do + cp -rv "${i}" "${pkgdir}/usr/etc/notion" + done +} |