makedeb


appdir 0.1.0-3


C library for finding platform-specific dirs

Click here to go back to the commit logs for appdir.

Commit:


Hash: fa3b127fc7f2463f43f7f6616e81a4cfbca1db80

Message: Added checksum

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 845c6a7..56557dd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = appdir
 	pkgdesc = C library for finding platform-specific dirs
-	pkgver = 0.1.0.r4.g9ce90c1
-	pkgrel = 1
+	pkgver = 0.1.0
+	pkgrel = 2
 	url = https://github.com/Forty-Bot/appdir
 	arch = any
 	license = LGPL3
@@ -10,7 +10,7 @@ pkgbase = appdir
 	makedepends = cmake
 	provides = appdir
 	conflicts = appdir
-	source = appdir::git+https://github.com/Forty-Bot/appdir
-	sha512sums = SKIP
+	source = appdir-0.1.0.tar.gz::https://github.com/Forty-Bot/appdir/archive/refs/tags/0.1.0.tar.gz
+	sha1sums = ec762349b307d857527dcd723d7aea818f4883c0
 
 pkgname = appdir
diff --git a/PKGBUILD b/PKGBUILD
index 0a7b3a2..166fcee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
 # Maintainer : MorsMortium <morsmortium@gmail.com>
 
 pkgname=appdir
-pkgver=0.1.0.r4.g9ce90c1
-pkgrel=1
+pkgver=0.1.0
+pkgrel=2
 url="https://github.com/Forty-Bot/appdir"
 pkgdesc="C library for finding platform-specific dirs"
 arch=('any')
@@ -10,16 +10,11 @@ provides=('appdir')
 conflicts=('appdir')
 license=('LGPL3')
 makedepends=('gcc' 'make' 'cmake')
-source=("$pkgname::git+https://github.com/Forty-Bot/appdir")
-sha512sums=('SKIP')
-
-pkgver(){
-	cd $pkgname
-	git describe --long --tags | sed 's/-/.r/;s/-/./'
-}
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Forty-Bot/appdir/archive/refs/tags/$pkgver.tar.gz")
+sha1sums=('ec762349b307d857527dcd723d7aea818f4883c0')
 
 package() {
-  cd $pkgname
+  cd $pkgname-$pkgver
   mkdir build
   cd build
   cmake ..