summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD23
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..72f230267e5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = sponskrub
+ pkgdesc = Scrub sponsor messages from youtube videos.
+ pkgver = 3.7.0
+ pkgrel = 1
+ url = https://github.com/faissaloo/SponSkrub
+ arch = any
+ license = GPL3
+ makedepends = dub
+ makedepends = d-compiler
+ source = https://github.com/faissaloo/SponSkrub/archive/refs/tags/3.7.0.tar.gz
+ sha256sums = 857916cad429cce52b370d062a068a34112b97b4eb54da0dda9dc77d18e6b206
+
+pkgname = sponskrub
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5be0bb0ac92
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: tercean <cg.aur@zknt.org>
+pkgname=sponskrub
+pkgver=3.7.0
+pkgrel=1
+pkgdesc="Scrub sponsor messages from youtube videos."
+arch=(any)
+url="https://github.com/faissaloo/SponSkrub"
+license=('GPL3')
+depends=(ffmpeg)
+makedepends=(dub d-compiler)
+source=("https://github.com/faissaloo/SponSkrub/archive/refs/tags/${pkgver}.tar.gz")
+sha256sums=('857916cad429cce52b370d062a068a34112b97b4eb54da0dda9dc77d18e6b206')
+
+build() {
+ cd "SponSkrub-$pkgver"
+ dub build :sponskrub
+}
+
+package() {
+ cd "SponSkrub-$pkgver"
+ install -D -m755 sponskrub "$pkgdir/usr/bin/$pkgname"
+}
+