summarylogtreecommitdiffstats
diff options
context:
space:
mode:
author305a3852023-06-28 05:07:22 +0200
committer305a3852023-06-28 05:07:22 +0200
commit69dcf91bd2dd62e4c8af2b9c8511674e82877363 (patch)
tree9dc211546f15a4fcb911ad7fb1ce71a7ac7aae29
parentc3286ca9629b826df096a068d6289b77c1aadbab (diff)
downloadaur-69dcf91bd2dd62e4c8af2b9c8511674e82877363.tar.gz
updated to v1.4 which is now hosted on codeburg
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD17
2 files changed, 13 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3a52e7db8f6a..27d428a05946 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = ytfind
pkgdesc = A program that searches invidious and gives you video titles and IDs
- pkgver = 1.3
- pkgrel = 2
- url = https://github.com/305a385/ytfind/
+ pkgver = 1.4
+ pkgrel = 0
+ url = https://codeberg.org/305a385/ytfind/
arch = x86_64
license = AGPL3
makedepends = json-c
depends = curl
- source = https://github.com/305a385/ytfind/archive/refs/tags/v1.3.tar.gz
- sha256sums = b00049ba360e5d24652b911c0b7e8ce9be255b799ead0e2274e116f8140af600
+ source = https://codeberg.org/305a385/ytfind/archive/v1.4.tar.gz
+ sha512sums = 2263ad2d894476fc52137a43d7ca85aaf4cb708daefe7992fff9fda5c7f9c4ad64c71c7017c40a5d344cfc5ffb3c113e24124a7561cd13a9bdd4a599a920f888
pkgname = ytfind
diff --git a/PKGBUILD b/PKGBUILD
index 0d6c728378cf..2d4794e5579d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,28 +2,27 @@
pkgname='ytfind'
-pkgver='1.3'
-pkgrel=2
+pkgver='1.4'
+pkgrel=0
pkgdesc="A program that searches invidious and gives you video titles and IDs"
arch=('x86_64')
-url='https://github.com/305a385/ytfind/'
+url='https://codeberg.org/305a385/ytfind/'
license=('AGPL3')
depends=('curl')
makedepends=('json-c')
-source=("https://github.com/305a385/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
-sha256sums=('b00049ba360e5d24652b911c0b7e8ce9be255b799ead0e2274e116f8140af600')
+source=("https://codeberg.org/305a385/$pkgname/archive/v$pkgver.tar.gz")
+sha512sums=('2263ad2d894476fc52137a43d7ca85aaf4cb708daefe7992fff9fda5c7f9c4ad64c71c7017c40a5d344cfc5ffb3c113e24124a7561cd13a9bdd4a599a920f888')
build(){
- cd "$pkgname-$pkgver";
+ cd "$pkgname";
make build
}
package() {
-
mkdir -p "${pkgdir}/usr/bin"
mkdir -p "${pkgdir}/usr/share/man/man1"
- install -m 755 ${srcdir}/$pkgname-$pkgver/${pkgname} ${pkgdir}/usr/bin/${pkgname}
- install -g 0 -o 0 -m 0644 ${srcdir}/$pkgname-$pkgver/manpages/${pkgname}.1 ${pkgdir}/usr/share/man/man1/
+ install -m 755 ${srcdir}/$pkgname/${pkgname} ${pkgdir}/usr/bin/${pkgname}
+ install -g 0 -o 0 -m 0644 ${srcdir}/$pkgname/manpages/${pkgname}.1 ${pkgdir}/usr/share/man/man1/
gzip ${pkgdir}/usr/share/man/man1/${pkgname}.1
}