Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/mksrcinfo
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-07-28 09:52:07 +0200
committerErich Eckner <git@eckner.net>2017-07-28 09:52:07 +0200
commit1c98ccb945dac97012b2bc6969ec337ce8fbb12e (patch)
treec6cb24f087be0f61a6388ce6c929186c81ce4e25 /bin/mksrcinfo
parentf3b57546352b1fb096490b2c3d5bfe4975db674a (diff)
switch from our mksrcinfo to "makepkg --printsrcinfo"
Diffstat (limited to 'bin/mksrcinfo')
-rwxr-xr-xbin/mksrcinfo25
1 files changed, 0 insertions, 25 deletions
diff --git a/bin/mksrcinfo b/bin/mksrcinfo
deleted file mode 100755
index 795c520..0000000
--- a/bin/mksrcinfo
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-# generate .SRCINFO from PKGBUILD
-# bleh - this should really be handled by makepkg!
-
-(
- CARCH='i686'
-
- . ./PKGBUILD
-
- if [ -z "${pkgbase}" ]; then
- printf 'pkgbase = %s\n' "${pkgname}"
- else
- printf 'pkgbase = %s\n' "${pkgbase}"
- fi
- printf '\tarch = %s\n' "${arch[@]}"
- printf '\tgroups = %s\n' "${groups[@]}"
- for print in 'makedepends' 'checkdepends' 'depends' 'provides'; do
- eval printf "'\t${print} = %s\n'" '"${'"${print}"'[@]}"'
- for a in 'i686'; do
- eval printf "'\t${print} = %s\n'" '"${'"${print}_${a}"'[@]}"'
- done
- done
- printf 'pkgname = %s\n' "${pkgname[@]}"
-) > .SRCINFO