[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Extremadura & Debian



nick black left as an exercise for the reader:
> Paul Wise left as an exercise for the reader:
> 	.PHONY: libxfce4ui
> 	libxfce4ui:$(LIBXFCE4UI)_$(ARCH).deb
> 	$(LIBXFCE4UI): $(SPREZZ)/libxfce4ui/debian/changelog
> 		mkdir $@
> 		cp -r $(<D) $@/
> 		cd $@ && uscan --force-download
> 		tar xjvf libxfce4ui-$(libxfce4ui_UPVER).tar.bz2 --strip-components=1 -C $@

this can obviously be further generalized and improved, for instance, you
can use uscan --dehs | xmlstarlet sel -t -v //upstream-url to get the
upstream name when it's weird, that kind of thing (though using uscan
--symlink plus the resulting .orig link works just as well). this is,
again, not something i'm proud of here, but it does churn out package updates.

-- 
nick black     http://www.sprezzatech.com -- unix and hpc consulting
to make an apple pie from scratch, you need first invent a universe.


Reply to: