summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnkit R Gadiya2017-10-03 12:17:46 +0530
committerAnkit R Gadiya2017-10-03 12:17:46 +0530
commitda2061a19efe28fb22dca59794e46b693ea2e5a8 (patch)
tree2b438fbb772c1eb16b974f262114a720b03b1fad /PKGBUILD
parent439fa2162bffa712c22bdfb6931cb2aae8dae2a4 (diff)
downloadaur-da2061a19efe28fb22dca59794e46b693ea2e5a8.tar.gz
Updated to Version 1
* Added config.h for more customization * Using tarball instead of git for fetching source
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 83dfd193f58..e02cefadbbb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,31 @@
-# Maintainer: Christian Hesse <mail@eworm.de>
+# Maintainer: Ankit R Gadiya <arch@argp.in>
+# Contributor: Christian Hesse <mail@eworm.de>
pkgname=sent
-pkgver=0.2
+pkgver=1
pkgrel=1
pkgdesc='Simple plaintext presentation tool'
arch=('i686' 'x86_64')
url='http://tools.suckless.org/sent'
depends=('libxft' 'fontconfig' 'libpng')
-makedepends=('git')
+optdepends=('farbfeld: Image support')
license=('MIT')
-source=("git://git.suckless.org/sent#tag=${pkgver}")
-sha256sums=('SKIP')
+source=(https://git.suckless.org/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz
+ config.h)
+sha256sums=('8d88c1d9b0990871c9b02d762ab4f1596e70e97bf228dab99115894133d999ad'
+ '5b93e790d607389a4966595cb32a818f6f076605aff52d9a87f54b4587e4d79e')
-build() {
- cd sent/
+prepare() {
+ cd $pkgname-$pkgver
+ cp "$srcdir"/config.h config.h
+}
+build() {
+ cd $pkgname-$pkgver
make
}
package() {
- cd sent/
-
+ cd $srcdir/$pkgname-$pkgver
make DESTDIR="${pkgdir}" PREFIX='/usr/' install
}
-