makedeb


debian-unstable-source 0.deb-1


Source list for debian unstable set to low priority, for ocasional use.

Click here to go back to the commit logs for debian-unstable-source.

Commit:


Hash: eb7392dc7c811837438a8a4eeab2f58806d46334

Message: deb-src and mirror in pkgver

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 6252a27..a28678e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,8 +2,8 @@ generated-by = makedeb
 pkgname = debian-unstable-source
 pkgbase = debian-unstable-source
 pkgdesc = Source list for debian unstable set to low priority, for ocasional use.
-pkgrel = 0
-pkgver = 0
+pkgrel = 1
+pkgver = 0.deb
 arch = all
 depends = debian-archive-keyring
 license = many
diff --git a/PKGBUILD b/PKGBUILD
index e14f112..84f44c9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@ _mirror="deb"
 # set mirror, for example:
 #_mirror="ftp.de"
 pkgname="debian-unstable-source"
-pkgver=0
-pkgrel=0
+pkgver=0."${_mirror}"
+pkgrel=1
 pkgdesc="Source list for debian unstable set to low priority, for ocasional use."
 arch=('all')
 license=('many')
@@ -42,6 +42,7 @@ Pin-Priority: 50
 Package: *
 Pin: release a=unstable,c=non-free-firmware
 Pin-Priority: 50" > "${pkgdir}/etc/apt/preferences.d/99debian_unstable"
-  echo "deb http://${_mirror}.debian.org/debian unstable main contrib non-free non-free-firmware" > "${pkgdir}/etc/apt/sources.list.d/debian_unstable.list"
+  echo "deb http://${_mirror}.debian.org/debian unstable main contrib non-free non-free-firmware
+#deb-src http://${_mirror}.debian.org/debian unstable main contrib non-free non-free-firmware" > "${pkgdir}/etc/apt/sources.list.d/debian_unstable.list"
 }