diff options
author | lithm | 2017-03-02 16:38:07 +0100 |
---|---|---|
committer | lithm | 2017-03-02 16:38:07 +0100 |
commit | bf0df52d888ed56beb214385b3ef72e6dc779f79 (patch) | |
tree | f987f3a59f59cc5548d61bda7366d546f60ef247 | |
download | aur-bf0df52d888ed56beb214385b3ef72e6dc779f79.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..56ae5ae037e4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +# Generated by mksrcinfo v8 +# Thu Mar 2 15:38:07 UTC 2017 +pkgbase = xwrited-hg + pkgdesc = Display write and wall messages as desktop notifications. + pkgver = 2.r18.4a5330979433.r18.4a5330979433 + pkgrel = 1 + url = https://code.guido-berhoerster.org/projects/xwrited/ + arch = i686 + arch = x86_64 + license = MIT + makedepends = mercurial + depends = notification-daemon + depends = libutempter + depends = dbus-glib + provides = xwrited + conflicts = xwrited + source = xwrited-hg::hg+https://hg.guido-berhoerster.org/projects/xwrited/ + sha512sums = SKIP + +pkgname = xwrited-hg + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..326e5d1b7dbb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: lithm <lithm at posteo dot de> +pkgname=xwrited-hg +pkgver=2.r18.4a5330979433.r18.4a5330979433 +pkgrel=1 +pkgdesc="Display write and wall messages as desktop notifications." +arch=('i686' 'x86_64') +url="https://code.guido-berhoerster.org/projects/xwrited/" +license=('MIT') +depends=('notification-daemon' 'libutempter' 'dbus-glib') +makedepends=('mercurial') +provides=('xwrited') +conflicts=('xwrited') +source=("${pkgname}::hg+https://hg.guido-berhoerster.org/projects/xwrited/") +sha512sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + printf "%s.r%s.%s" ${pkgver} "$(hg identify -n)" "$(hg identify -i)" +} + +build() { + cd "${srcdir}/${pkgname}" + tail -n 23 README > LICENSE + make +} + +package() { + cd "${srcdir}/${pkgname}" + make prefix="${pkgdir}/usr" sysconfdir="${pkgdir}/etc" install + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |