summaryrefslogtreecommitdiff
path: root/~lukeshu/android-udev/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-09-19 13:31:59 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-09-19 13:32:31 -0400
commitda805a9cb56999efeff0bc5367a3b8944262cce2 (patch)
tree3a100ba13870eba6d0b1fab9bd081857595516cc /~lukeshu/android-udev/Makefile
parent77045c7a1e609b3a2ce0923229d234d779a1c8ed (diff)
downloadabslibre-da805a9cb56999efeff0bc5367a3b8944262cce2.tar.gz
abslibre-da805a9cb56999efeff0bc5367a3b8944262cce2.tar.bz2
abslibre-da805a9cb56999efeff0bc5367a3b8944262cce2.zip
update android-udev, move it from ~lukeshu to pcr
Diffstat (limited to '~lukeshu/android-udev/Makefile')
-rw-r--r--~lukeshu/android-udev/Makefile39
1 files changed, 0 insertions, 39 deletions
diff --git a/~lukeshu/android-udev/Makefile b/~lukeshu/android-udev/Makefile
deleted file mode 100644
index f20930c66..000000000
--- a/~lukeshu/android-udev/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/make -f
-# Use this script to update the package from AUR.
-# This script depends on:
-# - coreutils
-# - pacman
-# - sed
-# - wget
-
-default: PHONY all
-all: PHONY 51-android.rules PKGBUILD
-
-name=android-udev
-
-aur:
- mkdir $@
-aur/%.tar.gz: | aur
- cd aur && wget http://aur.archlinux.org/packages/$*/$*.tar.gz
-aur/%: aur/%.tar.gz
- cd aur && tar xzf $(notdir $<)
-aur/$(name)/%: aur/$(name).tar.gz | aur/$(name)
- test -f $@ && touch $@
-
-51-android.rules: aur/$(name)/51-android.rules
- sed -r 's/\s+$$//' < $< > $@
-
-PKGBUILD: aur/$(name)/PKGBUILD 51-android.rules
- # Update pkg{ver,rel}
- ver=`grep -m1 pkgver= $<` ; sed -i "s/pkgver=.*/$$ver/" $@
- rel=`grep -m1 pkgrel= $<`.1; sed -i "s/pkgrel=.*/$$rel/" $@
- # Update md5sums
- sed -i '/md5sums/,$$d' $@
- makepkg -g >> $@
-
-clean: PHONY
- rm -rf aur
-maintainerclean: PHONY clean
- rm -f 51-android.rules
-
-.PHONY: PHONY FORCE