summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorlithm2017-03-02 03:54:36 +0100
committerlithm2017-03-02 03:54:36 +0100
commit1ff17615cbb0b5fa586476db3e1a7648ae1ac103 (patch)
treef76a7ff3892ad35fd4ff77b3e48fc7309bf46e72 /PKGBUILD
downloadaur-1ff17615cbb0b5fa586476db3e1a7648ae1ac103.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..49ae046ed5e9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: lithm <lithm at posteo dot de>
+pkgname=xwrited
+pkgver=2
+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')
+source=("https://code.guido-berhoerster.org/projects/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('2090bf858ea7337673cd5eaac579df841a15dedf5bb14e718e6a09d4350bb48dc5c5ecc0c58948dc04de0efe473f92f5c3c872b591de45e00f9397e86aa9284f')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ tail -n 23 README > LICENSE
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make prefix="${pkgdir}/usr" sysconfdir="${pkgdir}/etc" install
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}