diff options
author | Martin Zeller | 2015-06-16 20:08:15 +0200 |
---|---|---|
committer | Martin Zeller | 2015-06-16 20:08:15 +0200 |
commit | 0c7c18627513806863d989ebc5e167aae7913c2e (patch) | |
tree | 1f898361fdccb805a8e5cf99a94601e47466a9cd | |
download | aur-0c7c18627513806863d989ebc5e167aae7913c2e.tar.gz |
Import from AUR3
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d4a11907543d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = github-notify + pkgdesc = GitHub notification notifier + pkgver = 0.1.1 + pkgrel = 1 + url = https://www.github.com/Xandaros/GithubNotify + arch = x86_64 + arch = i686 + license = custom + makedepends = cabal-install + makedepends = ghc + makedepends = gtk2hs-buildtools + depends = libnotify + depends = notification-daemon + source = https://github.com/Xandaros/GithubNotify/archive/0.1.1.tar.gz + md5sums = 727c42c7f2be8eaefaa09335bd6e390d + +pkgname = github-notify + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f974b69ef719 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +pkgname=github-notify +_projectname=GithubNotify +pkgver=0.1.1 +pkgrel=1 +pkgdesc="GitHub notification notifier" +url="https://www.github.com/Xandaros/GithubNotify" +arch=('x86_64' 'i686') +license=('custom') +depends=('libnotify' 'notification-daemon') +makedepends=('cabal-install' 'ghc' 'gtk2hs-buildtools') +conflicts=() +replaces=() +backup=() +source=("https://github.com/Xandaros/GithubNotify/archive/${pkgver}.tar.gz") +md5sums=('727c42c7f2be8eaefaa09335bd6e390d') + +build() { + cd "$srcdir/$_projectname-$pkgver" + rm cabal.config + cabal update + cabal sandbox init + cabal install --only-dependencies + cabal build $pkgname +} + +package() { + install -Dm755 "$srcdir/$_projectname-$pkgver/dist/build/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname" +} |