#!/bin/bash

source /tmp/PKGBUILD

if [ "$1" = "--install" ]; then
    install

elif [ "$1" = "--upgrade" ]; then
    upgrade

elif [ "$1" = "--remove" ]; then
    remove
fi