diff options
author | Alessandro Ghedini <al3xbio@gmail.com> | 2011-11-12 15:51:12 +0100 |
---|---|---|
committer | Alessandro Ghedini <al3xbio@gmail.com> | 2011-11-20 15:51:50 +0100 |
commit | 30a5b87cdb15aa735c5176fc9ae561f17aee33de (patch) | |
tree | d875d47e4a2f9ce27386566229a25be38ce59839 /debian/rules | |
parent | ddf1bc14926ca8697f1333be939c21c45e6b2bf2 (diff) |
Use tarballs provided by upstream instead of git
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/debian/rules b/debian/rules index 0d9acdd..3fa69ba 100755 --- a/debian/rules +++ b/debian/rules @@ -1,25 +1,11 @@ #!/usr/bin/make -f -PKG=gnome-pie -REM=git://github.com/Simmesimme/Gnome-Pie.git -REV=$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*[+~]git(.*)-.*,\1,p') -VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') - %: dh $@ override_dh_auto_install: dh_auto_install # install invalid locale pt-br as pt_BR (fix unknown-locale-code) - mv debian/$(PKG)/usr/share/locale/pt-br \ - debian/$(PKG)/usr/share/locale/pt_BR + mv debian/gnome-pie/usr/share/locale/pt-br \ + debian/gnome-pie/usr/share/locale/pt_BR -get-orig-source: - rm -rf $(PKG)-$(VER).orig - git clone $(REM) $(PKG)_$(VER).orig - cd $(PKG)_$(VER).orig && git checkout $(REV) - rm -r $(PKG)_$(VER).orig/.git $(PKG)_$(VER).orig/.gitignore - GZIP=--best tar -cz --owner root --group root --mode a+rX \ - -f $(PKG)_$(VER).orig.tar.gz \ - $(PKG)_$(VER).orig - rm -r $(PKG)_$(VER).orig |