Commit 68e86706 authored by Boris Pek's avatar Boris Pek

Update get-orig-source section in debian/rules.

parent fa778bd0
......@@ -3,11 +3,14 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/qmake.mk
QMAKE=qmake-qt4
PACKAGE = qconf
CUR_VER = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
DEBIAN_PATH := $(abspath $(dir $(MAKEFILE_LIST)))
USCAN_REPORT = $(shell uscan --noconf --report --dehs $(DEBIAN_PATH))
CUR_VER = $(shell echo "$(USCAN_REPORT)" | sed -n 's/.*<upstream-version>\(.*\)<\/upstream-version>.*/\1/p')
CUR_URL = $(shell echo "$(USCAN_REPORT)" | sed -n 's/.*<upstream-url>\(.*\)<\/upstream-url>.*/\1/p')
QMAKE=qmake-qt4
configure/qconf::
./configure --prefix=/usr
......@@ -22,5 +25,4 @@ install/qconf::
mv debian/qconf/usr/bin/qconf debian/qconf/usr/bin/qt-qconf
get-orig-source::
wget -4 "http://delta.affinix.com/download/qconf-$(CUR_VER).tar.bz2"
mv -f "$(PACKAGE)-$(CUR_VER).tar.bz2" "$(PACKAGE)_$(CUR_VER).orig.tar.bz2"
wget -c4 "$(CUR_URL)" -O "$(PACKAGE)_$(CUR_VER).orig.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment