summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnkit R Gadiya2018-10-09 19:40:13 +0530
committerAnkit R Gadiya2018-10-09 19:40:13 +0530
commit2b36a2e8fc54970484f020ad2cd123b97ff0d747 (patch)
treef5f34df509d95f87c9a20f6d9c537921e23c3319
parent4ed4f7e4922732faa71f73f908ec7137410c001a (diff)
downloadaur-2b36a2e8fc54970484f020ad2cd123b97ff0d747.tar.gz
Fixed source
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD16
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f1080416f25..437bed10440 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sent
pkgdesc = Simple plaintext presentation tool
pkgver = 1
- pkgrel = 3
+ pkgrel = 4
url = http://tools.suckless.org/sent
arch = i686
arch = x86_64
@@ -10,9 +10,9 @@ pkgbase = sent
depends = fontconfig
depends = libpng
optdepends = farbfeld: Image support
- source = https://git.suckless.org/sent/snapshot/sent-1.tar.gz
+ source = https://dl.suckless.org/tools/sent-1.tar.gz
source = config.h
- sha256sums = 8d88c1d9b0990871c9b02d762ab4f1596e70e97bf228dab99115894133d999ad
+ sha256sums = 7bf3de9311ce291ff36adf5315b78fa72373e3ab80ca71387fb5884bcbd7be33
sha256sums = 5b93e790d607389a4966595cb32a818f6f076605aff52d9a87f54b4587e4d79e
pkgname = sent
diff --git a/PKGBUILD b/PKGBUILD
index 660bdc42d58..cbacafc5fff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,29 +3,29 @@
pkgname=sent
pkgver=1
-pkgrel=3
+pkgrel=4
pkgdesc='Simple plaintext presentation tool'
arch=('i686' 'x86_64')
url='http://tools.suckless.org/sent'
depends=('libxft' 'fontconfig' 'libpng')
optdepends=('farbfeld: Image support')
license=('custom:ISC')
-source=("https://git.suckless.org/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz"
+source=("https://dl.suckless.org/tools/${pkgname}-${pkgver}.tar.gz"
"config.h")
-sha256sums=('8d88c1d9b0990871c9b02d762ab4f1596e70e97bf228dab99115894133d999ad'
+sha256sums=('7bf3de9311ce291ff36adf5315b78fa72373e3ab80ca71387fb5884bcbd7be33'
'5b93e790d607389a4966595cb32a818f6f076605aff52d9a87f54b4587e4d79e')
-prepare() {
- cp config.h "${pkgname}-${pkgver}/config.h"
-}
+# prepare() {
+# cp config.h "${srcdir}/config.h"
+# }
build() {
- cd "${pkgname}-${pkgver}"
+ cd "${srcdir}"
make
}
package() {
- cd "${pkgname}-${pkgver}"
+ cd "${srcdir}"
make DESTDIR="${pkgdir}" PREFIX='/usr/' install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"