diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
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" +} |